0s autopkgtest [08:45:08]: starting date and time: 2025-01-18 08:45:08+0000 0s autopkgtest [08:45:08]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [08:45:08]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ogsbw3n0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pygobject --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-29.secgroup --name adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -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/ 167s autopkgtest [08:47:55]: testbed dpkg architecture: arm64 168s autopkgtest [08:47:56]: testbed apt version: 2.9.18 168s autopkgtest [08:47:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 168s autopkgtest [08:47:56]: testbed release detected to be: None 169s autopkgtest [08:47:57]: updating testbed package index (apt update) 169s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 170s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 170s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 170s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 170s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [825 kB] 170s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 170s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 170s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 170s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 170s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 170s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [964 kB] 170s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 170s Fetched 2397 kB in 1s (2377 kB/s) 172s Reading package lists... 172s + lsb_release --codename --short 172s + RELEASE=plucky 172s + cat 172s + [ plucky != trusty ] 172s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 172s Reading package lists... 173s Building dependency tree... 173s Reading state information... 174s Calculating upgrade... 175s The following packages will be upgraded: 175s apport apport-core-dump-handler python3-apport python3-problem-report 175s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 175s Need to get 220 kB of archives. 175s After this operation, 0 B of additional disk space will be used. 175s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 176s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 176s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 176s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 176s Fetched 220 kB in 0s (515 kB/s) 177s (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 ... 80201 files and directories currently installed.) 177s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 177s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 177s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 177s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 177s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 177s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 177s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 177s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 178s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 178s Setting up python3-apport (2.31.0-0ubuntu3) ... 178s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 180s Setting up apport (2.31.0-0ubuntu3) ... 180s apport-autoreport.service is a disabled or a static unit not running, not starting it. 181s Processing triggers for man-db (2.13.0-1) ... 181s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 181s + /usr/lib/apt/apt-helper analyze-pattern ?true 181s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 181s Reading package lists... 182s Building dependency tree... 182s Reading state information... 183s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 183s + grep -q trusty /etc/lsb-release 183s + [ ! -d /usr/share/doc/unattended-upgrades ] 183s + [ ! -d /usr/share/doc/lxd ] 183s + [ ! -d /usr/share/doc/lxd-client ] 183s + [ ! -d /usr/share/doc/snapd ] 183s + type iptables 183s + cat 183s + chmod 755 /etc/rc.local 183s + . /etc/rc.local 183s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 183s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 183s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 183s + uname -m 183s + [ aarch64 = ppc64le ] 183s + [ -d /run/systemd/system ] 183s + systemd-detect-virt --quiet --vm 183s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 183s + cat 183s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 183s + echo COMPRESS=lz4 183s + sync 184s autopkgtest [08:48:12]: upgrading testbed (apt dist-upgrade and autopurge) 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 185s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 185s Starting 2 pkgProblemResolver with broken count: 0 185s Done 186s Entering ResolveByKeep 186s 187s The following packages will be upgraded: 187s python3-gi 187s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 187s Need to get 279 kB of archives. 187s After this operation, 0 B of additional disk space will be used. 187s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gi arm64 3.50.0-4 [279 kB] 188s Fetched 279 kB in 0s (640 kB/s) 188s (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 ... 80201 files and directories currently installed.) 188s Preparing to unpack .../python3-gi_3.50.0-4_arm64.deb ... 188s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 188s Setting up python3-gi (3.50.0-4) ... 189s Reading package lists... 189s Building dependency tree... 189s Reading state information... 189s Starting pkgProblemResolver with broken count: 0 190s Starting 2 pkgProblemResolver with broken count: 0 190s Done 191s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 191s autopkgtest [08:48:19]: rebooting testbed after setup commands that affected boot 216s autopkgtest [08:48:44]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 219s autopkgtest [08:48:47]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 231s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 231s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 231s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 231s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 231s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 231s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 231s gpgv: Can't check signature: No public key 231s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 232s autopkgtest [08:49:00]: testing package glib2.0 version 2.82.4-1 238s autopkgtest [08:49:06]: build not needed 248s autopkgtest [08:49:16]: test build: preparing testbed 249s Reading package lists... 249s Building dependency tree... 249s Reading state information... 250s Starting pkgProblemResolver with broken count: 0 250s Starting 2 pkgProblemResolver with broken count: 0 250s Done 251s The following NEW packages will be installed: 251s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 251s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 251s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 251s libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 251s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 251s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 251s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 251s pkgconf-bin uuid-dev zlib1g-dev 251s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 251s Need to get 64.9 MB of archives. 251s After this operation, 228 MB of additional disk space will be used. 251s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 252s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 252s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [10.6 MB] 252s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-13ubuntu1 [1030 B] 252s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 252s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 252s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-13ubuntu1 [49.6 kB] 252s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-13ubuntu1 [145 kB] 252s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-13ubuntu1 [27.8 kB] 252s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-13ubuntu1 [2893 kB] 252s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-13ubuntu1 [1283 kB] 252s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-13ubuntu1 [2686 kB] 252s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-13ubuntu1 [1152 kB] 252s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-13ubuntu1 [1598 kB] 252s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-13ubuntu1 [2596 kB] 252s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [20.9 MB] 253s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-13ubuntu1 [523 kB] 253s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 253s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 253s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-13ubuntu1 [2502 kB] 253s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [12.1 MB] 253s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-13ubuntu1 [21.1 kB] 253s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 253s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 253s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 253s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 253s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu2 [53.8 kB] 253s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu2 [241 kB] 253s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 253s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 253s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 253s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 253s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 254s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu1 [174 kB] 254s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu2 [33.2 kB] 254s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 254s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 254s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 254s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 254s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 254s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.4-1 [1908 kB] 254s Fetched 64.9 MB in 2s (28.5 MB/s) 254s Selecting previously unselected package libisl23:arm64. 254s (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 ... 80201 files and directories currently installed.) 254s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 254s Unpacking libisl23:arm64 (0.27-1) ... 254s Selecting previously unselected package libmpc3:arm64. 254s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 254s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 254s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 254s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 254s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package cpp-14. 255s Preparing to unpack .../03-cpp-14_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package cpp-aarch64-linux-gnu. 255s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 255s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 255s Selecting previously unselected package cpp. 255s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 255s Unpacking cpp (4:14.1.0-2ubuntu1) ... 255s Selecting previously unselected package libcc1-0:arm64. 255s Preparing to unpack .../06-libcc1-0_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libcc1-0:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libgomp1:arm64. 255s Preparing to unpack .../07-libgomp1_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libgomp1:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libitm1:arm64. 255s Preparing to unpack .../08-libitm1_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libitm1:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libasan8:arm64. 255s Preparing to unpack .../09-libasan8_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libasan8:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package liblsan0:arm64. 255s Preparing to unpack .../10-liblsan0_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking liblsan0:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libtsan2:arm64. 255s Preparing to unpack .../11-libtsan2_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libtsan2:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libubsan1:arm64. 255s Preparing to unpack .../12-libubsan1_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libubsan1:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libhwasan0:arm64. 255s Preparing to unpack .../13-libhwasan0_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libhwasan0:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package libgcc-14-dev:arm64. 255s Preparing to unpack .../14-libgcc-14-dev_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking libgcc-14-dev:arm64 (14.2.0-13ubuntu1) ... 255s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 255s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 255s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 256s Selecting previously unselected package gcc-14. 256s Preparing to unpack .../16-gcc-14_14.2.0-13ubuntu1_arm64.deb ... 256s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 256s Selecting previously unselected package gcc-aarch64-linux-gnu. 256s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 256s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 256s Selecting previously unselected package gcc. 256s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 256s Unpacking gcc (4:14.1.0-2ubuntu1) ... 256s Selecting previously unselected package libstdc++-14-dev:arm64. 256s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-13ubuntu1_arm64.deb ... 256s Unpacking libstdc++-14-dev:arm64 (14.2.0-13ubuntu1) ... 256s Selecting previously unselected package g++-14-aarch64-linux-gnu. 256s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 256s Unpacking g++-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 256s Selecting previously unselected package g++-14. 256s Preparing to unpack .../21-g++-14_14.2.0-13ubuntu1_arm64.deb ... 256s Unpacking g++-14 (14.2.0-13ubuntu1) ... 257s Selecting previously unselected package g++-aarch64-linux-gnu. 257s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 257s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 257s Selecting previously unselected package g++. 257s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 257s Unpacking g++ (4:14.1.0-2ubuntu1) ... 257s Selecting previously unselected package build-essential. 257s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 257s Unpacking build-essential (12.10ubuntu1) ... 257s Selecting previously unselected package libffi-dev:arm64. 257s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_arm64.deb ... 257s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 257s Selecting previously unselected package uuid-dev:arm64. 257s Preparing to unpack .../26-uuid-dev_2.40.2-1ubuntu2_arm64.deb ... 257s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu2) ... 257s Selecting previously unselected package libblkid-dev:arm64. 257s Preparing to unpack .../27-libblkid-dev_2.40.2-1ubuntu2_arm64.deb ... 257s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 257s Selecting previously unselected package libsepol-dev:arm64. 257s Preparing to unpack .../28-libsepol-dev_3.7-1_arm64.deb ... 257s Unpacking libsepol-dev:arm64 (3.7-1) ... 257s Selecting previously unselected package libpcre2-16-0:arm64. 257s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 257s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 257s Selecting previously unselected package libpcre2-32-0:arm64. 257s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 257s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 257s Selecting previously unselected package libpcre2-posix3:arm64. 257s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 257s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 257s Selecting previously unselected package libpcre2-dev:arm64. 257s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 257s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 257s Selecting previously unselected package libselinux1-dev:arm64. 257s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu1_arm64.deb ... 257s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu1) ... 257s Selecting previously unselected package libmount-dev:arm64. 257s Preparing to unpack .../34-libmount-dev_2.40.2-1ubuntu2_arm64.deb ... 257s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu2) ... 257s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 257s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 257s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 257s Selecting previously unselected package libpkgconf3:arm64. 257s Preparing to unpack .../36-libpkgconf3_1.8.1-4_arm64.deb ... 257s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 257s Selecting previously unselected package pkgconf-bin. 257s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_arm64.deb ... 257s Unpacking pkgconf-bin (1.8.1-4) ... 257s Selecting previously unselected package pkgconf:arm64. 257s Preparing to unpack .../38-pkgconf_1.8.1-4_arm64.deb ... 257s Unpacking pkgconf:arm64 (1.8.1-4) ... 257s Selecting previously unselected package zlib1g-dev:arm64. 257s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 257s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 257s Selecting previously unselected package libgio-2.0-dev:arm64. 257s Preparing to unpack .../40-libgio-2.0-dev_2.82.4-1_arm64.deb ... 257s Unpacking libgio-2.0-dev:arm64 (2.82.4-1) ... 257s Setting up libgomp1:arm64 (14.2.0-13ubuntu1) ... 257s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 257s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 257s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 257s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 257s Setting up libpkgconf3:arm64 (1.8.1-4) ... 257s Setting up uuid-dev:arm64 (2.40.2-1ubuntu2) ... 257s Setting up libmpc3:arm64 (1.3.1-1build2) ... 257s Setting up libsepol-dev:arm64 (3.7-1) ... 257s Setting up pkgconf-bin (1.8.1-4) ... 257s Setting up libubsan1:arm64 (14.2.0-13ubuntu1) ... 257s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 257s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 257s Setting up libhwasan0:arm64 (14.2.0-13ubuntu1) ... 257s Setting up libasan8:arm64 (14.2.0-13ubuntu1) ... 257s Setting up libtsan2:arm64 (14.2.0-13ubuntu1) ... 257s Setting up libisl23:arm64 (0.27-1) ... 257s Setting up libcc1-0:arm64 (14.2.0-13ubuntu1) ... 257s Setting up liblsan0:arm64 (14.2.0-13ubuntu1) ... 258s Setting up libitm1:arm64 (14.2.0-13ubuntu1) ... 258s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 258s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 258s Setting up libselinux1-dev:arm64 (3.7-3ubuntu1) ... 258s Setting up pkgconf:arm64 (1.8.1-4) ... 258s Setting up cpp-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 258s Setting up libgcc-14-dev:arm64 (14.2.0-13ubuntu1) ... 258s Setting up libstdc++-14-dev:arm64 (14.2.0-13ubuntu1) ... 258s Setting up libmount-dev:arm64 (2.40.2-1ubuntu2) ... 258s Setting up libgio-2.0-dev:arm64 (2.82.4-1) ... 258s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 258s Setting up cpp-14 (14.2.0-13ubuntu1) ... 258s Setting up cpp (4:14.1.0-2ubuntu1) ... 258s Setting up gcc-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 258s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 258s Setting up g++-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 258s Setting up gcc-14 (14.2.0-13ubuntu1) ... 258s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 258s Setting up g++-14 (14.2.0-13ubuntu1) ... 258s Setting up gcc (4:14.1.0-2ubuntu1) ... 258s Setting up g++ (4:14.1.0-2ubuntu1) ... 258s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 258s Setting up build-essential (12.10ubuntu1) ... 258s Processing triggers for libc-bin (2.40-4ubuntu1) ... 258s Processing triggers for man-db (2.13.0-1) ... 259s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 259s No schema files found: doing nothing. 259s Processing triggers for install-info (7.1.1-1) ... 260s autopkgtest [08:49:28]: test build: [----------------------- 260s + mode=dynamic 260s + getopt -o --long static -n debian/tests/build -- 260s + getopt_temp= -- 260s + eval set -- -- 260s + set -- -- 260s + true 260s + shift 260s + break 260s + mktemp -d 260s + WORKDIR=/tmp/tmp.xbfDeWfIQQ 260s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 260s + cd /tmp/tmp.xbfDeWfIQQ 260s + [ -n ] 260s + CROSS_COMPILE= 260s + cat 260s + cat 260s + cat 260s + cat 260s + cat 260s + cat 260s + cflags= 260s + pcflags= 260s + packages=glib-2.0 260s + pkg-config --cflags --libs glib-2.0 260s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 260s build (glib, dynamic): OK 260s + echo build (glib, dynamic): OK 260s + [ -x glib-dynamic ] 260s + foo=bar ./glib-dynamic 260s run (glib, dynamic): OK 260s + echo run (glib, dynamic): OK 260s + cflags= 260s + pcflags= 260s + packages=gobject-2.0 260s + pkg-config --cflags --libs gobject-2.0 260s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 261s build (gobject, dynamic): OK 261s + echo build (gobject, dynamic): OK 261s + [ -x gobject-dynamic ] 261s + foo=bar ./gobject-dynamic 261s run (gobject, dynamic): OK 261s + echo run (gobject, dynamic): OK 261s + cflags= 261s + pcflags= 261s + packages=gio-2.0 261s + pkg-config --cflags --libs gio-2.0 261s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 261s build (gio, dynamic): OK 261s + echo build (gio, dynamic): OK 261s + [ -x gio-dynamic ] 261s + foo=bar ./gio-dynamic 261s run (gio, dynamic): OK 261s + echo run (gio, dynamic): OK 261s + cflags= 261s + pcflags= 261s + packages=gio-unix-2.0 261s + pkg-config --cflags --libs gio-unix-2.0 261s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 261s build (gio-unix, dynamic): OK 261s + echo build (gio-unix, dynamic): OK 261s + [ -x gio-unix-dynamic ] 261s + foo=bar ./gio-unix-dynamic 261s + echo run (gio-unix, dynamic): OK 261s run (gio-unix, dynamic): OK 261s + cflags= 261s + pcflags= 261s + packages=gmodule-2.0 261s + pkg-config --cflags --libs gmodule-2.0 261s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 261s build (gmodule, dynamic): OK 261s + echo build (gmodule, dynamic): OK 261s + [ -x gmodule-dynamic ] 261s + foo=bar ./gmodule-dynamic 261s run (gmodule, dynamic): OK 261s + echo run (gmodule, dynamic): OK 261s + cflags= 261s + pcflags= 261s + packages=gthread-2.0 261s + pkg-config --cflags --libs gthread-2.0 261s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 261s build (gthread, dynamic): OK 261s + echo build (gthread, dynamic): OK 261s + [ -x gthread-dynamic ] 261s + foo=bar ./gthread-dynamic 261s + run (gthread, dynamic): OK 261s echo run (gthread, dynamic): OK 261s + rm -rf /tmp/tmp.xbfDeWfIQQ 262s autopkgtest [08:49:30]: test build: -----------------------] 262s build PASS (superficial) 262s autopkgtest [08:49:30]: test build: - - - - - - - - - - results - - - - - - - - - - 263s autopkgtest [08:49:31]: test build-static: preparing testbed 263s Reading package lists... 263s Building dependency tree... 263s Reading state information... 264s Starting pkgProblemResolver with broken count: 0 264s Starting 2 pkgProblemResolver with broken count: 0 264s Done 265s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 266s autopkgtest [08:49:34]: test build-static: [----------------------- 266s + mode=dynamic 266s + getopt -o --long static -n debian/tests/build -- --static 266s + getopt_temp= --static -- 266s + eval set -- --static -- 266s + set -- --static -- 266s + true 266s + mode=static 266s + shift 266s + continue 266s + true 266s + shift 266s + break 266s + mktemp -d 266s + WORKDIR=/tmp/tmp.hASSmPmRZX 266s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 266s + cd /tmp/tmp.hASSmPmRZX 266s + [ -n ] 266s + CROSS_COMPILE= 266s + cat 266s + cat 266s + cat 266s + cat 266s + cat 266s + cat 266s + cflags= 266s + pcflags= 266s + packages=glib-2.0 266s + cflags=-static 266s + pcflags=--static 266s + pkg-config --static --cflags --libs glib-2.0 266s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 266s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 266s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 266s /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 266s build (glib, static): OK 266s + echo build (glib, static): OK 266s + [ -x glib-static ] 266s + foo=bar ./glib-static 266s run (glib, static): OK 266s + echo run (glib, static): OK 266s + cflags= 266s + pcflags= 266s + packages=gobject-2.0 266s + cflags=-static 266s + pcflags=--static 266s + pkg-config --static --cflags --libs gobject-2.0 266s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 267s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 267s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /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 267s build (gobject, static): OK 267s run (gobject, static): OK 267s + echo build (gobject, static): OK 267s + [ -x gobject-static ] 267s + foo=bar ./gobject-static 267s + echo run (gobject, static): OK 267s + cflags= 267s + pcflags= 267s + packages=gio-2.0 267s + cflags=-static 267s + pcflags=--static 267s + continue 267s + cflags= 267s + pcflags= 267s + packages=gio-unix-2.0 267s + cflags=-static 267s + pcflags=--static 267s + continue 267s + cflags= 267s + pcflags= 267s + packages=gmodule-2.0 267s + cflags=-static 267s + pcflags=--static 267s + pkg-config --static --cflags --libs gmodule-2.0 267s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 267s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 267s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 267s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /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 267s + echo build (gmodule, static): OK 267s + [ -x gmodule-static ] 267s + foo=bar ./gmodule-static 267s build (gmodule, static): OK 267s run (gmodule, static): OK 267s + echo run (gmodule, static): OK 267s + cflags= 267s + pcflags= 267s + packages=gthread-2.0 267s + cflags=-static 267s + pcflags=--static 267s + pkg-config --static --cflags --libs gthread-2.0 267s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 267s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 267s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 267s /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 267s build (gthread, static): OK 267s + echo build (gthread, static): OK 267s + [ -x gthread-static ] 267s + foo=bar ./gthread-static 267s run (gthread, static): OK 267s + echo run (gthread, static): OK 267s + rm -rf /tmp/tmp.hASSmPmRZX 267s autopkgtest [08:49:35]: test build-static: -----------------------] 268s autopkgtest [08:49:36]: test build-static: - - - - - - - - - - results - - - - - - - - - - 268s build-static PASS (superficial) 268s autopkgtest [08:49:36]: test girepository-tools: preparing testbed 435s autopkgtest [08:52:23]: testbed dpkg architecture: arm64 436s autopkgtest [08:52:24]: testbed apt version: 2.9.18 436s autopkgtest [08:52:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 436s autopkgtest [08:52:24]: testbed release detected to be: plucky 437s autopkgtest [08:52:25]: updating testbed package index (apt update) 438s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 438s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 438s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 438s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 438s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 438s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 438s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 438s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [825 kB] 438s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 438s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 438s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [964 kB] 438s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 439s Fetched 2397 kB in 1s (2400 kB/s) 440s Reading package lists... 440s + lsb_release --codename --short 440s + RELEASE=plucky 440s + cat 440s + [ plucky != trusty ] 440s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 440s Reading package lists... 440s Building dependency tree... 440s Reading state information... 441s Calculating upgrade... 442s The following packages will be upgraded: 442s apport apport-core-dump-handler python3-apport python3-problem-report 442s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 442s Need to get 220 kB of archives. 442s After this operation, 0 B of additional disk space will be used. 442s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 442s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 442s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 442s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 443s Fetched 220 kB in 0s (518 kB/s) 443s (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 ... 80201 files and directories currently installed.) 443s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 443s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 443s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 443s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 443s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 443s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 443s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 443s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 443s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 444s Setting up python3-apport (2.31.0-0ubuntu3) ... 444s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 445s Setting up apport (2.31.0-0ubuntu3) ... 447s apport-autoreport.service is a disabled or a static unit not running, not starting it. 447s Processing triggers for man-db (2.13.0-1) ... 448s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 448s + /usr/lib/apt/apt-helper analyze-pattern ?true 448s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 448s Reading package lists... 448s Building dependency tree... 448s Reading state information... 450s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 450s + grep -q trusty /etc/lsb-release 450s + [ ! -d /usr/share/doc/unattended-upgrades ] 450s + [ ! -d /usr/share/doc/lxd ] 450s + [ ! -d /usr/share/doc/lxd-client ] 450s + [ ! -d /usr/share/doc/snapd ] 450s + type iptables 450s + cat 450s + chmod 755 /etc/rc.local 450s + . /etc/rc.local 450s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 450s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 450s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 450s + uname -m 450s + [ aarch64 = ppc64le ] 450s + [ -d /run/systemd/system ] 450s + systemd-detect-virt --quiet --vm 450s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 450s + cat 450s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 450s + echo COMPRESS=lz4 450s + sync 450s autopkgtest [08:52:38]: upgrading testbed (apt dist-upgrade and autopurge) 450s Reading package lists... 451s Building dependency tree... 451s Reading state information... 452s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 452s Starting 2 pkgProblemResolver with broken count: 0 452s Done 453s Entering ResolveByKeep 454s 454s The following packages will be upgraded: 454s python3-gi 454s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 454s Need to get 279 kB of archives. 454s After this operation, 0 B of additional disk space will be used. 454s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gi arm64 3.50.0-4 [279 kB] 455s Fetched 279 kB in 0s (626 kB/s) 455s (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 ... 80201 files and directories currently installed.) 455s Preparing to unpack .../python3-gi_3.50.0-4_arm64.deb ... 455s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 456s Setting up python3-gi (3.50.0-4) ... 456s Reading package lists... 457s Building dependency tree... 457s Reading state information... 458s Starting pkgProblemResolver with broken count: 0 458s Starting 2 pkgProblemResolver with broken count: 0 458s Done 460s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 460s autopkgtest [08:52:48]: rebooting testbed after setup commands that affected boot 483s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 493s Reading package lists... 493s Building dependency tree... 493s Reading state information... 493s Starting pkgProblemResolver with broken count: 0 494s Starting 2 pkgProblemResolver with broken count: 0 494s Done 494s The following NEW packages will be installed: 494s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 494s native-architecture 495s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 495s Need to get 1030 kB of archives. 495s After this operation, 12.6 MB of additional disk space will be used. 495s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.4-1 [853 kB] 495s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 495s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 495s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 496s Fetched 1030 kB in 1s (1793 kB/s) 496s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 496s (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 ... 80201 files and directories currently installed.) 496s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_arm64.deb ... 496s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 496s Selecting previously unselected package native-architecture. 496s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 496s Unpacking native-architecture (0.2.3) ... 496s Selecting previously unselected package libgirepository-2.0-0:arm64. 496s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_arm64.deb ... 496s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 496s Selecting previously unselected package girepository-tools:arm64. 496s Preparing to unpack .../girepository-tools_2.82.4-1_arm64.deb ... 496s Unpacking girepository-tools:arm64 (2.82.4-1) ... 496s Setting up native-architecture (0.2.3) ... 496s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 496s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 496s Setting up girepository-tools:arm64 (2.82.4-1) ... 496s Processing triggers for man-db (2.13.0-1) ... 497s Processing triggers for libc-bin (2.40-4ubuntu1) ... 504s autopkgtest [08:53:32]: test girepository-tools: [----------------------- 505s + cd /tmp/autopkgtest.55EnFI/autopkgtest_tmp 505s + dpkg-architecture -qDEB_HOST_GNU_TYPE 505s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 505s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 505s + dpkg-architecture -qDEB_HOST_MULTIARCH 505s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 505s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 505s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 505s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 505s typelib: GLib-2.0 505s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 505s autopkgtest [08:53:33]: test girepository-tools: -----------------------] 506s autopkgtest [08:53:34]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 506s girepository-tools PASS (superficial) 506s autopkgtest [08:53:34]: test libgio-2.0-dev-bin: preparing testbed 687s autopkgtest [08:56:35]: testbed dpkg architecture: arm64 687s autopkgtest [08:56:35]: testbed apt version: 2.9.18 688s autopkgtest [08:56:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 688s autopkgtest [08:56:36]: testbed release detected to be: plucky 688s autopkgtest [08:56:36]: updating testbed package index (apt update) 689s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 689s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 689s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 689s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 689s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [823 kB] 689s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 689s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 689s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 689s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 689s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 690s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [963 kB] 690s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 690s Fetched 2393 kB in 1s (2422 kB/s) 691s Reading package lists... 691s + lsb_release --codename --short 691s + RELEASE=plucky 691s + cat 691s + [ plucky != trusty ] 691s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 691s Reading package lists... 692s Building dependency tree... 692s Reading state information... 692s Calculating upgrade... 693s The following packages will be upgraded: 693s apport apport-core-dump-handler python3-apport python3-problem-report 693s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 693s Need to get 220 kB of archives. 693s After this operation, 0 B of additional disk space will be used. 693s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 693s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 693s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 693s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 694s Fetched 220 kB in 0s (509 kB/s) 694s (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 ... 80201 files and directories currently installed.) 694s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 694s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 694s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 694s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 694s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 694s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 695s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 695s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 695s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 695s Setting up python3-apport (2.31.0-0ubuntu3) ... 695s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 696s Setting up apport (2.31.0-0ubuntu3) ... 697s apport-autoreport.service is a disabled or a static unit not running, not starting it. 697s Processing triggers for man-db (2.13.0-1) ... 698s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 698s + /usr/lib/apt/apt-helper analyze-pattern ?true 698s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 698s Reading package lists... 698s Building dependency tree... 698s Reading state information... 699s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 699s + grep -q trusty /etc/lsb-release 699s + [ ! -d /usr/share/doc/unattended-upgrades ] 699s + [ ! -d /usr/share/doc/lxd ] 699s + [ ! -d /usr/share/doc/lxd-client ] 699s + [ ! -d /usr/share/doc/snapd ] 699s + type iptables 699s + cat 699s + chmod 755 /etc/rc.local 699s + . /etc/rc.local 699s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 699s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 699s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 699s + uname -m 699s + [ aarch64 = ppc64le ] 699s + [ -d /run/systemd/system ] 699s + systemd-detect-virt --quiet --vm 699s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 699s + cat 699s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 699s + echo COMPRESS=lz4 699s + sync 699s autopkgtest [08:56:47]: upgrading testbed (apt dist-upgrade and autopurge) 699s Reading package lists... 700s Building dependency tree... 700s Reading state information... 700s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 700s Starting 2 pkgProblemResolver with broken count: 0 700s Done 701s Entering ResolveByKeep 702s 702s The following packages will be upgraded: 702s python3-gi 702s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 702s Need to get 279 kB of archives. 702s After this operation, 0 B of additional disk space will be used. 702s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gi arm64 3.50.0-4 [279 kB] 703s Fetched 279 kB in 0s (648 kB/s) 703s (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 ... 80201 files and directories currently installed.) 703s Preparing to unpack .../python3-gi_3.50.0-4_arm64.deb ... 703s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 703s Setting up python3-gi (3.50.0-4) ... 704s Reading package lists... 704s Building dependency tree... 704s Reading state information... 704s Starting pkgProblemResolver with broken count: 0 705s Starting 2 pkgProblemResolver with broken count: 0 705s Done 705s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 706s autopkgtest [08:56:54]: rebooting testbed after setup commands that affected boot 732s Reading package lists... 732s Building dependency tree... 732s Reading state information... 733s Starting pkgProblemResolver with broken count: 0 733s Starting 2 pkgProblemResolver with broken count: 0 733s Done 734s The following NEW packages will be installed: 734s libgio-2.0-dev-bin python3-packaging 734s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 734s Need to get 180 kB of archives. 734s After this operation, 1067 kB of additional disk space will be used. 734s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 734s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 735s Fetched 180 kB in 0s (392 kB/s) 735s Selecting previously unselected package python3-packaging. 735s (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 ... 80201 files and directories currently installed.) 735s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 735s Unpacking python3-packaging (24.2-1) ... 735s Selecting previously unselected package libgio-2.0-dev-bin. 735s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 735s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 735s Setting up python3-packaging (24.2-1) ... 735s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 735s Processing triggers for man-db (2.13.0-1) ... 740s autopkgtest [08:57:28]: test libgio-2.0-dev-bin: [----------------------- 740s + gdbus-codegen --help 740s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 740s [--c-namespace NAMESPACE] [--c-generate-object-manager] 740s [--c-generate-autocleanup {none,objects,all}] 740s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 740s [--generate-rst OUTFILES] [--pragma-once] 740s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 740s [--glib-min-required VERSION] 740s [--glib-max-allowed VERSION] 740s [--symbol-decorator SYMBOL_DECORATOR] 740s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 740s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 740s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 740s [--output FILE | --output-directory OUTDIR] 740s FILE [FILE ...] 740s 740s D-Bus code and documentation generator 740s 740s positional arguments: 740s FILE D-Bus introspection XML file 740s 740s options: 740s -h, --help show this help message and exit 740s --interface-prefix PREFIX 740s String to strip from D-Bus interface names for code 740s and docs 740s --c-namespace NAMESPACE 740s The namespace to use for generated C code 740s --c-generate-object-manager 740s Generate a GDBusObjectManagerClient subclass when 740s generating C code 740s --c-generate-autocleanup {none,objects,all} 740s Generate autocleanup support 740s --generate-docbook OUTFILES 740s Generate Docbook in OUTFILES-org.Project.IFace.xml 740s --generate-md OUTFILES 740s Generate Markdown in OUTFILES-org.Project.IFace.md 740s --generate-rst OUTFILES 740s Generate reStructuredText in OUTFILES- 740s org.Project.IFace.rst 740s --pragma-once Use "pragma once" as the inclusion guard 740s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 740s Add annotation (may be used several times) 740s --glib-min-required VERSION 740s Minimum version of GLib to be supported by the 740s outputted code (default: 2.30) 740s --glib-max-allowed VERSION 740s Maximum version of GLib to be used by the outputted 740s code (default: current GLib version) 740s --symbol-decorator SYMBOL_DECORATOR 740s Macro used to decorate a symbol in the outputted 740s header, possibly to export symbols 740s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 740s Additional header required for decorator specified by 740s --symbol-decorator 740s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 740s Additional define required for decorator specified by 740s --symbol-decorator 740s --generate-c-code OUTFILES 740s Generate C code in OUTFILES.[ch] 740s --header Generate C headers 740s --body Generate C code 740s --interface-info-header 740s Generate GDBusInterfaceInfo C header 740s --interface-info-body 740s Generate GDBusInterfaceInfo C code 740s --output FILE Write output into the specified file 740s --output-directory OUTDIR 740s Location to output generated files 740s + glib-compile-resources --version 740s 2.82.4 740s + glib-genmarshal --version 741s glib-genmarshal version 2.82.4 741s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 741s You may redistribute copies of glib-genmarshal under the terms of 741s the GNU General Public License which can be found in the 741s GLib source package. Sources, examples and contact 741s information are available at http://www.gtk.org 741s + glib-gettextize --version 741s /usr/bin/glib-gettextize (GNU glib) 2.82.4 741s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 741s This is free software; see the source for copying conditions. There is NO 741s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 741s Written by Ulrich Drepper 741s + glib-mkenums --version 741s glib-mkenums version 2.82.4 741s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 741s You may redistribute copies of glib-mkenums under the terms of 741s the GNU General Public License which can be found in the 741s GLib source package. Sources, examples and contact 741s information are available at http://www.gtk.org 741s + gobject-query tree 741s GObject 741s + gtester --version 741s gtester version 2.82.4 741s + gtester-report --version 741s gtester-report (GLib utils) version 2.82.4. 741s autopkgtest [08:57:29]: test libgio-2.0-dev-bin: -----------------------] 742s autopkgtest [08:57:30]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 742s libgio-2.0-dev-bin PASS (superficial) 742s autopkgtest [08:57:30]: test libglib2.0-dev: preparing testbed 890s autopkgtest [08:59:58]: testbed dpkg architecture: arm64 891s autopkgtest [08:59:59]: testbed apt version: 2.9.18 891s autopkgtest [08:59:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 891s autopkgtest [08:59:59]: testbed release detected to be: plucky 892s autopkgtest [09:00:00]: updating testbed package index (apt update) 892s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 893s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 893s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 893s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 893s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 893s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 893s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [823 kB] 894s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 894s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 894s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 894s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [963 kB] 895s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 895s Fetched 2393 kB in 2s (994 kB/s) 896s Reading package lists... 897s + lsb_release --codename --short 897s + RELEASE=plucky 897s + cat 897s + [ plucky != trusty ] 897s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 897s Reading package lists... 897s Building dependency tree... 897s Reading state information... 898s Calculating upgrade... 898s The following packages will be upgraded: 898s apport apport-core-dump-handler python3-apport python3-problem-report 898s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 898s Need to get 220 kB of archives. 898s After this operation, 0 B of additional disk space will be used. 898s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 898s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 898s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 898s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 899s Fetched 220 kB in 0s (517 kB/s) 899s (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 ... 80201 files and directories currently installed.) 899s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 899s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 899s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 899s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 899s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 899s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 900s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 900s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 900s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 900s Setting up python3-apport (2.31.0-0ubuntu3) ... 900s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 901s Setting up apport (2.31.0-0ubuntu3) ... 902s apport-autoreport.service is a disabled or a static unit not running, not starting it. 902s Processing triggers for man-db (2.13.0-1) ... 903s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 903s + /usr/lib/apt/apt-helper analyze-pattern ?true 903s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 903s Reading package lists... 903s Building dependency tree... 903s Reading state information... 904s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 904s + grep -q trusty /etc/lsb-release 904s + [ ! -d /usr/share/doc/unattended-upgrades ] 904s + [ ! -d /usr/share/doc/lxd ] 904s + [ ! -d /usr/share/doc/lxd-client ] 904s + [ ! -d /usr/share/doc/snapd ] 904s + type iptables 904s + cat 904s + chmod 755 /etc/rc.local 904s + . /etc/rc.local 904s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 904s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 904s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 904s + uname -m 904s + [ aarch64 = ppc64le ] 904s + [ -d /run/systemd/system ] 904s + systemd-detect-virt --quiet --vm 904s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 904s + cat 904s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 904s + echo COMPRESS=lz4 904s + sync 904s autopkgtest [09:00:12]: upgrading testbed (apt dist-upgrade and autopurge) 904s Reading package lists... 905s Building dependency tree... 905s Reading state information... 905s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 905s Starting 2 pkgProblemResolver with broken count: 0 905s Done 906s Entering ResolveByKeep 906s 907s The following packages will be upgraded: 907s python3-gi 907s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 907s Need to get 279 kB of archives. 907s After this operation, 0 B of additional disk space will be used. 907s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gi arm64 3.50.0-4 [279 kB] 908s Fetched 279 kB in 0s (590 kB/s) 908s (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 ... 80201 files and directories currently installed.) 908s Preparing to unpack .../python3-gi_3.50.0-4_arm64.deb ... 908s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 908s Setting up python3-gi (3.50.0-4) ... 909s Reading package lists... 909s Building dependency tree... 909s Reading state information... 909s Starting pkgProblemResolver with broken count: 0 910s Starting 2 pkgProblemResolver with broken count: 0 910s Done 912s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 912s autopkgtest [09:00:20]: rebooting testbed after setup commands that affected boot 936s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 946s Reading package lists... 946s Building dependency tree... 946s Reading state information... 946s Starting pkgProblemResolver with broken count: 0 946s Starting 2 pkgProblemResolver with broken count: 0 946s Done 947s The following NEW packages will be installed: 947s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 947s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 947s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 947s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 947s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 947s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 947s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 947s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 947s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 947s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 947s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 947s Need to get 66.2 MB of archives. 947s After this operation, 243 MB of additional disk space will be used. 947s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 948s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 948s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [10.6 MB] 951s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-13ubuntu1 [1030 B] 951s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 951s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 951s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-13ubuntu1 [49.6 kB] 951s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-13ubuntu1 [145 kB] 951s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-13ubuntu1 [27.8 kB] 951s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-13ubuntu1 [2893 kB] 951s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-13ubuntu1 [1283 kB] 951s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-13ubuntu1 [2686 kB] 951s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-13ubuntu1 [1152 kB] 951s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-13ubuntu1 [1598 kB] 952s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-13ubuntu1 [2596 kB] 952s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [20.9 MB] 953s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-13ubuntu1 [523 kB] 953s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 953s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 953s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-13ubuntu1 [2502 kB] 953s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [12.1 MB] 953s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-13ubuntu1 [21.1 kB] 953s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 953s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 953s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 953s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.4-1 [853 kB] 953s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 953s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 953s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 953s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 953s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu2 [53.8 kB] 953s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu2 [241 kB] 953s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 953s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 953s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 953s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 953s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 953s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu1 [174 kB] 953s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu2 [33.2 kB] 953s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 953s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 953s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 953s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 953s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 953s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.4-1 [1908 kB] 953s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 953s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 953s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.82.4-1 [97.8 kB] 953s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.4-1 [18.1 kB] 953s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev arm64 2.82.4-1 [18.8 kB] 954s Fetched 66.2 MB in 6s (10.9 MB/s) 954s Selecting previously unselected package libisl23:arm64. 954s (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 ... 80201 files and directories currently installed.) 954s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 954s Unpacking libisl23:arm64 (0.27-1) ... 954s Selecting previously unselected package libmpc3:arm64. 954s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 954s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 954s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 954s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 954s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 954s Selecting previously unselected package cpp-14. 954s Preparing to unpack .../03-cpp-14_14.2.0-13ubuntu1_arm64.deb ... 954s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 954s Selecting previously unselected package cpp-aarch64-linux-gnu. 954s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 954s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 954s Selecting previously unselected package cpp. 954s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 954s Unpacking cpp (4:14.1.0-2ubuntu1) ... 954s Selecting previously unselected package libcc1-0:arm64. 954s Preparing to unpack .../06-libcc1-0_14.2.0-13ubuntu1_arm64.deb ... 954s Unpacking libcc1-0:arm64 (14.2.0-13ubuntu1) ... 954s Selecting previously unselected package libgomp1:arm64. 954s Preparing to unpack .../07-libgomp1_14.2.0-13ubuntu1_arm64.deb ... 954s Unpacking libgomp1:arm64 (14.2.0-13ubuntu1) ... 954s Selecting previously unselected package libitm1:arm64. 954s Preparing to unpack .../08-libitm1_14.2.0-13ubuntu1_arm64.deb ... 954s Unpacking libitm1:arm64 (14.2.0-13ubuntu1) ... 954s Selecting previously unselected package libasan8:arm64. 954s Preparing to unpack .../09-libasan8_14.2.0-13ubuntu1_arm64.deb ... 954s Unpacking libasan8:arm64 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package liblsan0:arm64. 955s Preparing to unpack .../10-liblsan0_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking liblsan0:arm64 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package libtsan2:arm64. 955s Preparing to unpack .../11-libtsan2_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking libtsan2:arm64 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package libubsan1:arm64. 955s Preparing to unpack .../12-libubsan1_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking libubsan1:arm64 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package libhwasan0:arm64. 955s Preparing to unpack .../13-libhwasan0_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking libhwasan0:arm64 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package libgcc-14-dev:arm64. 955s Preparing to unpack .../14-libgcc-14-dev_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking libgcc-14-dev:arm64 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 955s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package gcc-14. 955s Preparing to unpack .../16-gcc-14_14.2.0-13ubuntu1_arm64.deb ... 955s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 955s Selecting previously unselected package gcc-aarch64-linux-gnu. 955s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 955s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 955s Selecting previously unselected package gcc. 956s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 956s Unpacking gcc (4:14.1.0-2ubuntu1) ... 956s Selecting previously unselected package libstdc++-14-dev:arm64. 956s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-13ubuntu1_arm64.deb ... 956s Unpacking libstdc++-14-dev:arm64 (14.2.0-13ubuntu1) ... 956s Selecting previously unselected package g++-14-aarch64-linux-gnu. 956s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 956s Unpacking g++-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 956s Selecting previously unselected package g++-14. 956s Preparing to unpack .../21-g++-14_14.2.0-13ubuntu1_arm64.deb ... 956s Unpacking g++-14 (14.2.0-13ubuntu1) ... 956s Selecting previously unselected package g++-aarch64-linux-gnu. 956s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 956s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 956s Selecting previously unselected package g++. 956s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 956s Unpacking g++ (4:14.1.0-2ubuntu1) ... 956s Selecting previously unselected package build-essential. 956s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 956s Unpacking build-essential (12.10ubuntu1) ... 956s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 956s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.4-1_arm64.deb ... 956s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 956s Selecting previously unselected package native-architecture. 956s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 956s Unpacking native-architecture (0.2.3) ... 956s Selecting previously unselected package libgirepository-2.0-0:arm64. 956s Preparing to unpack .../27-libgirepository-2.0-0_2.82.4-1_arm64.deb ... 956s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 956s Selecting previously unselected package girepository-tools:arm64. 956s Preparing to unpack .../28-girepository-tools_2.82.4-1_arm64.deb ... 956s Unpacking girepository-tools:arm64 (2.82.4-1) ... 956s Selecting previously unselected package libffi-dev:arm64. 956s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_arm64.deb ... 956s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 956s Selecting previously unselected package uuid-dev:arm64. 956s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu2_arm64.deb ... 956s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu2) ... 956s Selecting previously unselected package libblkid-dev:arm64. 956s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu2_arm64.deb ... 956s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 956s Selecting previously unselected package libsepol-dev:arm64. 957s Preparing to unpack .../32-libsepol-dev_3.7-1_arm64.deb ... 957s Unpacking libsepol-dev:arm64 (3.7-1) ... 957s Selecting previously unselected package libpcre2-16-0:arm64. 957s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 957s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 957s Selecting previously unselected package libpcre2-32-0:arm64. 957s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 957s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 957s Selecting previously unselected package libpcre2-posix3:arm64. 957s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 957s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 957s Selecting previously unselected package libpcre2-dev:arm64. 957s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 957s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 957s Selecting previously unselected package libselinux1-dev:arm64. 957s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu1_arm64.deb ... 957s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu1) ... 957s Selecting previously unselected package libmount-dev:arm64. 957s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu2_arm64.deb ... 957s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu2) ... 957s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 957s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 957s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 957s Selecting previously unselected package libpkgconf3:arm64. 957s Preparing to unpack .../40-libpkgconf3_1.8.1-4_arm64.deb ... 957s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 957s Selecting previously unselected package pkgconf-bin. 957s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_arm64.deb ... 957s Unpacking pkgconf-bin (1.8.1-4) ... 957s Selecting previously unselected package pkgconf:arm64. 957s Preparing to unpack .../42-pkgconf_1.8.1-4_arm64.deb ... 957s Unpacking pkgconf:arm64 (1.8.1-4) ... 957s Selecting previously unselected package zlib1g-dev:arm64. 957s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 957s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 957s Selecting previously unselected package libgio-2.0-dev:arm64. 957s Preparing to unpack .../44-libgio-2.0-dev_2.82.4-1_arm64.deb ... 957s Unpacking libgio-2.0-dev:arm64 (2.82.4-1) ... 957s Selecting previously unselected package python3-packaging. 957s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 957s Unpacking python3-packaging (24.2-1) ... 957s Selecting previously unselected package libgio-2.0-dev-bin. 957s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 957s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 957s Selecting previously unselected package libglib2.0-bin. 957s Preparing to unpack .../47-libglib2.0-bin_2.82.4-1_arm64.deb ... 957s Unpacking libglib2.0-bin (2.82.4-1) ... 957s Selecting previously unselected package libglib2.0-dev-bin. 957s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_arm64.deb ... 957s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 957s Selecting previously unselected package libglib2.0-dev:arm64. 957s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_arm64.deb ... 957s Unpacking libglib2.0-dev:arm64 (2.82.4-1) ... 957s Setting up native-architecture (0.2.3) ... 957s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 957s Setting up libglib2.0-bin (2.82.4-1) ... 957s Setting up libgomp1:arm64 (14.2.0-13ubuntu1) ... 957s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 957s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 957s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 957s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 957s Setting up python3-packaging (24.2-1) ... 958s Setting up libpkgconf3:arm64 (1.8.1-4) ... 958s Setting up uuid-dev:arm64 (2.40.2-1ubuntu2) ... 958s Setting up libmpc3:arm64 (1.3.1-1build2) ... 958s Setting up libsepol-dev:arm64 (3.7-1) ... 958s Setting up pkgconf-bin (1.8.1-4) ... 958s Setting up libubsan1:arm64 (14.2.0-13ubuntu1) ... 958s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 958s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 958s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 958s Setting up libhwasan0:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libasan8:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libtsan2:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libisl23:arm64 (0.27-1) ... 958s Setting up libcc1-0:arm64 (14.2.0-13ubuntu1) ... 958s Setting up liblsan0:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libitm1:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 958s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 958s Setting up girepository-tools:arm64 (2.82.4-1) ... 958s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 958s Setting up libselinux1-dev:arm64 (3.7-3ubuntu1) ... 958s Setting up pkgconf:arm64 (1.8.1-4) ... 958s Setting up cpp-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 958s Setting up libgcc-14-dev:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libstdc++-14-dev:arm64 (14.2.0-13ubuntu1) ... 958s Setting up libmount-dev:arm64 (2.40.2-1ubuntu2) ... 958s Setting up libglib2.0-dev-bin (2.82.4-1) ... 958s Setting up libgio-2.0-dev:arm64 (2.82.4-1) ... 958s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 958s Setting up cpp-14 (14.2.0-13ubuntu1) ... 958s Setting up cpp (4:14.1.0-2ubuntu1) ... 958s Setting up gcc-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 958s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 958s Setting up g++-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 958s Setting up gcc-14 (14.2.0-13ubuntu1) ... 958s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 958s Setting up g++-14 (14.2.0-13ubuntu1) ... 958s Setting up gcc (4:14.1.0-2ubuntu1) ... 958s Setting up g++ (4:14.1.0-2ubuntu1) ... 958s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 958s Setting up build-essential (12.10ubuntu1) ... 958s Processing triggers for install-info (7.1.1-1) ... 958s Processing triggers for libc-bin (2.40-4ubuntu1) ... 958s Processing triggers for man-db (2.13.0-1) ... 959s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 959s No schema files found: doing nothing. 959s Setting up libglib2.0-dev:arm64 (2.82.4-1) ... 980s autopkgtest [09:01:28]: test libglib2.0-dev: [----------------------- 980s + debian/tests/build 980s + mode=dynamic 980s + getopt -o --long static -n debian/tests/build -- 980s + getopt_temp= -- 980s + eval set -- -- 980s + set -- -- 980s + true 980s + shift 980s + break 980s + mktemp -d 980s + WORKDIR=/tmp/tmp.oW7rUVWgoD 980s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 980s + cd /tmp/tmp.oW7rUVWgoD 980s + [ -n ] 980s + CROSS_COMPILE= 980s + cat 980s + cat 980s + cat 980s + cat 980s + cat 980s + cat 980s + cflags= 980s + pcflags= 980s + packages=glib-2.0 980s + pkg-config --cflags --libs glib-2.0 980s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 980s build (glib, dynamic): OK 980s + echo build (glib, dynamic): OK 980s + [ -x glib-dynamic ] 980s + foo=bar ./glib-dynamic 980s + echo run (glib, dynamic): OKrun (glib, dynamic): OK 980s 980s + cflags= 980s + pcflags= 980s + packages=gobject-2.0 980s + pkg-config --cflags --libs gobject-2.0 980s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 980s build (gobject, dynamic): OK 980s + echo build (gobject, dynamic): OK 980s + [ -x gobject-dynamic ] 980s + foo=bar ./gobject-dynamic 980s + echo run (gobject, dynamic): OK 980s + cflags= 980s + pcflags= 980s + packages=gio-2.0 980s run (gobject, dynamic): OK 980s + pkg-config --cflags --libs gio-2.0 980s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 981s build (gio, dynamic): OK 981s + echo build (gio, dynamic): OK 981s + [ -x gio-dynamic ] 981s + foo=bar ./gio-dynamic 981s + echo run (gio, dynamic): OK 981s + cflags= 981s + pcflags= 981s + packages=gio-unix-2.0 981s + pkg-config --cflags --libs gio-unix-2.0 981s run (gio, dynamic): OK 981s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 981s build (gio-unix, dynamic): OK 981s + echo build (gio-unix, dynamic): OK 981s + [ -x gio-unix-dynamic ] 981s + foo=bar ./gio-unix-dynamic 981s + echo run (gio-unix, dynamic): OK 981s + cflags= 981s + pcflags= 981s + packages=gmodule-2.0 981s + pkg-config --cflags --libs gmodule-2.0 981s run (gio-unix, dynamic): OK 981s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 981s build (gmodule, dynamic): OK 981s + echo build (gmodule, dynamic): OK 981s + [ -x gmodule-dynamic ] 981s + foo=bar ./gmodule-dynamic 981s run (gmodule, dynamic): OK 981s + echo run (gmodule, dynamic): OK 981s + cflags= 981s + pcflags= 981s + packages=gthread-2.0 981s + pkg-config --cflags --libs gthread-2.0 981s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 981s build (gthread, dynamic): OK 981s + echo build (gthread, dynamic): OK 981s + [ -x gthread-dynamic ] 981s + foo=bar ./gthread-dynamic 981s run (gthread, dynamic): OK 981s + echo run (gthread, dynamic): OK 981s + rm -rf /tmp/tmp.oW7rUVWgoD 981s + debian/tests/build-static 981s + mode=dynamic 981s + getopt -o --long static -n debian/tests/build -- --static 981s + getopt_temp= --static -- 981s + eval set -- --static -- 981s + set -- --static -- 981s + true 981s + mode=static 981s + shift 981s + continue 981s + true 981s + shift 981s + break 981s + mktemp -d 981s + WORKDIR=/tmp/tmp.FGvwXUoq2l 981s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 981s + cd /tmp/tmp.FGvwXUoq2l 981s + [ -n ] 981s + CROSS_COMPILE= 981s + cat 981s + cat 981s + cat 981s + cat 981s + cat 981s + cat 981s + cflags= 981s + pcflags= 981s + packages=glib-2.0 981s + cflags=-static 981s + pcflags=--static 981s + pkg-config --static --cflags --libs glib-2.0 981s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 981s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 981s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /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 981s build (glib, static): OK 981s + echo build (glib, static): OK 981s + [ -x glib-static ] 981s + foo=bar ./glib-static 981s run (glib, static): OK 981s + echo run (glib, static): OK 981s + cflags= 981s + pcflags= 981s + packages=gobject-2.0 981s + cflags=-static 981s + pcflags=--static 981s + pkg-config --static --cflags --libs gobject-2.0 981s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 981s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 981s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /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 981s build (gobject, static): OK 981s + echo build (gobject, static): OK 981s + [ -x gobject-static ] 981s + foo=bar ./gobject-static 981s run (gobject, static): OK 981s + echo run (gobject, static): OK 981s + cflags= 981s + pcflags= 981s + packages=gio-2.0 981s + cflags=-static 981s + pcflags=--static 981s + continue 981s + cflags= 981s + pcflags= 981s + packages=gio-unix-2.0 981s + cflags=-static 981s + pcflags=--static 981s + continue 981s + cflags= 981s + pcflags= 981s + packages=gmodule-2.0 981s + cflags=-static 981s + pcflags=--static 981s + pkg-config --static --cflags --libs gmodule-2.0 981s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 981s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 981s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 981s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 981s /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 982s build (gmodule, static): OK 982s + echo build (gmodule, static): OK 982s + [ -x gmodule-static ] 982s + foo=bar ./gmodule-static 982s + echo run (gmodule, static): OK 982s + cflags= 982s + pcflags= 982s + packages=gthread-2.0 982s + cflags=-static 982s + pcflags=--static 982s run (gmodule, static): OK 982s + pkg-config --static --cflags --libs gthread-2.0 982s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 982s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 982s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 982s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 982s /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 982s build (gthread, static): OK 982s + echo build (gthread, static): OK 982s + [ -x gthread-static ] 982s + foo=bar ./gthread-static 982s + echo run (gthread, static): OK 982s + rm -rf /tmp/tmp.FGvwXUoq2l 982s run (gthread, static): OK 982s + debian/tests/girepository-tools 982s + cd /tmp/autopkgtest.55EnFI/autopkgtest_tmp 982s + dpkg-architecture -qDEB_HOST_GNU_TYPE 982s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 982s + dpkg-architecture -qDEB_HOST_MULTIARCH 982s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 982s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 982s typelib: GLib-2.0 982s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 982s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 982s + debian/tests/libgio-2.0-dev-bin 982s + gdbus-codegen --help 982s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 982s [--c-namespace NAMESPACE] [--c-generate-object-manager] 982s [--c-generate-autocleanup {none,objects,all}] 982s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 982s [--generate-rst OUTFILES] [--pragma-once] 982s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 982s [--glib-min-required VERSION] 982s [--glib-max-allowed VERSION] 982s [--symbol-decorator SYMBOL_DECORATOR] 982s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 982s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 982s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 982s [--output FILE | --output-directory OUTDIR] 982s FILE [FILE ...] 982s 982s D-Bus code and documentation generator 982s 982s positional arguments: 982s FILE D-Bus introspection XML file 982s 982s options: 982s -h, --help show this help message and exit 982s --interface-prefix PREFIX 982s String to strip from D-Bus interface names for code 982s and docs 982s --c-namespace NAMESPACE 982s The namespace to use for generated C code 982s --c-generate-object-manager 982s Generate a GDBusObjectManagerClient subclass when 982s generating C code 982s --c-generate-autocleanup {none,objects,all} 982s Generate autocleanup support 982s --generate-docbook OUTFILES 982s Generate Docbook in OUTFILES-org.Project.IFace.xml 982s --generate-md OUTFILES 982s Generate Markdown in OUTFILES-org.Project.IFace.md 982s --generate-rst OUTFILES 982s Generate reStructuredText in OUTFILES- 982s org.Project.IFace.rst 982s --pragma-once Use "pragma once" as the inclusion guard 982s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 982s Add annotation (may be used several times) 982s --glib-min-required VERSION 982s Minimum version of GLib to be supported by the 982s outputted code (default: 2.30) 982s --glib-max-allowed VERSION 982s Maximum version of GLib to be used by the outputted 982s code (default: current GLib version) 982s --symbol-decorator SYMBOL_DECORATOR 982s Macro used to decorate a symbol in the outputted 982s header, possibly to export symbols 982s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 982s Additional header required for decorator specified by 982s --symbol-decorator 982s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 982s Additional define required for decorator specified by 982s --symbol-decorator 982s --generate-c-code OUTFILES 982s Generate C code in OUTFILES.[ch] 982s --header Generate C headers 982s --body Generate C code 982s --interface-info-header 982s Generate GDBusInterfaceInfo C header 982s --interface-info-body 982s Generate GDBusInterfaceInfo C code 982s --output FILE Write output into the specified file 982s --output-directory OUTDIR 982s Location to output generated files 982s + glib-compile-resources --version 982s 2.82.4 982s + glib-genmarshal --version 982s glib-genmarshal version 2.82.4 982s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 982s You may redistribute copies of glib-genmarshal under the terms of 982s the GNU General Public License which can be found in the 982s GLib source package. Sources, examples and contact 982s information are available at http://www.gtk.org 982s + glib-gettextize --version 982s + glib-mkenums --version 982s /usr/bin/glib-gettextize (GNU glib) 2.82.4 982s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 982s This is free software; see the source for copying conditions. There is NO 982s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 982s Written by Ulrich Drepper 982s glib-mkenums version 2.82.4 982s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 982s You may redistribute copies of glib-mkenums under the terms of 982s the GNU General Public License which can be found in the 982s GLib source package. Sources, examples and contact 982s information are available at http://www.gtk.org 982s + gobject-query tree 982s GObject 982s + gtester --version 982s gtester version 2.82.4 982s + gtester-report --version 982s gtester-report (GLib utils) version 2.82.4. 982s + cd /tmp/autopkgtest.55EnFI/autopkgtest_tmp 982s + dpkg-architecture -qDEB_HOST_MULTIARCH 982s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 982s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 982s typelib: GLib-2.0 982s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 982s + gi-decompile-typelib -o GLib.gir GLib.typelib 983s autopkgtest [09:01:31]: test libglib2.0-dev: -----------------------] 983s libglib2.0-dev PASS (superficial) 983s autopkgtest [09:01:31]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 984s autopkgtest [09:01:32]: test installed-tests: preparing testbed 1083s autopkgtest [09:03:11]: testbed dpkg architecture: arm64 1084s autopkgtest [09:03:12]: testbed apt version: 2.9.18 1084s autopkgtest [09:03:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1084s autopkgtest [09:03:12]: testbed release detected to be: plucky 1085s autopkgtest [09:03:13]: updating testbed package index (apt update) 1086s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1086s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1086s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1086s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1086s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 1086s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [823 kB] 1086s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 1086s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1086s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 1086s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 1086s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [963 kB] 1086s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 1087s Fetched 2393 kB in 1s (2434 kB/s) 1088s Reading package lists... 1088s + lsb_release --codename --short 1088s + RELEASE=plucky 1088s + cat 1088s + [ plucky != trusty ] 1088s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 1088s Reading package lists... 1089s Building dependency tree... 1089s Reading state information... 1090s Calculating upgrade... 1090s The following packages will be upgraded: 1090s apport apport-core-dump-handler python3-apport python3-problem-report 1090s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1090s Need to get 220 kB of archives. 1090s After this operation, 0 B of additional disk space will be used. 1090s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 1091s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 1091s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 1091s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 1091s Fetched 220 kB in 0s (529 kB/s) 1091s (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 ... 80201 files and directories currently installed.) 1091s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 1092s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1092s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 1092s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1092s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 1092s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1092s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 1092s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1092s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 1092s Setting up python3-apport (2.31.0-0ubuntu3) ... 1092s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 1093s Setting up apport (2.31.0-0ubuntu3) ... 1094s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1094s Processing triggers for man-db (2.13.0-1) ... 1094s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 1094s + /usr/lib/apt/apt-helper analyze-pattern ?true 1094s Reading package lists...+ DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 1094s 1095s Building dependency tree... 1095s Reading state information... 1095s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1095s + grep -q trusty /etc/lsb-release 1095s + [ ! -d /usr/share/doc/unattended-upgrades ] 1095s + [ ! -d /usr/share/doc/lxd ] 1095s + [ ! -d /usr/share/doc/lxd-client ] 1095s + [ ! -d /usr/share/doc/snapd ] 1095s + type iptables 1095s + cat 1095s + chmod 755 /etc/rc.local 1095s + . /etc/rc.local 1095s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1095s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 1095s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 1095s + uname -m 1095s + [ aarch64 = ppc64le ] 1095s + [ -d /run/systemd/system ] 1095s + systemd-detect-virt --quiet --vm 1095s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 1095s + cat 1095s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 1095s + echo COMPRESS=lz4 1095s + sync 1096s autopkgtest [09:03:24]: upgrading testbed (apt dist-upgrade and autopurge) 1096s Reading package lists... 1096s Building dependency tree... 1096s Reading state information... 1096s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1097s Starting 2 pkgProblemResolver with broken count: 0 1097s Done 1097s Entering ResolveByKeep 1098s 1098s The following packages will be upgraded: 1098s python3-gi 1098s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1098s Need to get 279 kB of archives. 1098s After this operation, 0 B of additional disk space will be used. 1098s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gi arm64 3.50.0-4 [279 kB] 1099s Fetched 279 kB in 0s (686 kB/s) 1099s (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 ... 80201 files and directories currently installed.) 1099s Preparing to unpack .../python3-gi_3.50.0-4_arm64.deb ... 1099s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 1099s Setting up python3-gi (3.50.0-4) ... 1099s Reading package lists... 1100s Building dependency tree... 1100s Reading state information... 1100s Starting pkgProblemResolver with broken count: 0 1100s Starting 2 pkgProblemResolver with broken count: 0 1100s Done 1101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1101s autopkgtest [09:03:29]: rebooting testbed after setup commands that affected boot 1127s Reading package lists... 1127s Building dependency tree... 1127s Reading state information... 1127s Starting pkgProblemResolver with broken count: 0 1128s Starting 2 pkgProblemResolver with broken count: 0 1128s Done 1128s The following NEW packages will be installed: 1128s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 1128s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 1128s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1128s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 1128s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 1128s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1128s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1128s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 1128s native-architecture python3-dbusmock python3-packaging tzdata-legacy 1128s x11-common x11-xkb-utils xserver-common xvfb 1129s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 1129s Need to get 14.7 MB of archives. 1129s After this operation, 81.0 MB of additional disk space will be used. 1129s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 dbus-x11 arm64 1.14.10-4ubuntu5 [23.2 kB] 1129s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 desktop-file-utils arm64 0.28-1 [53.6 kB] 1129s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 1129s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 1129s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 1129s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 gnome-desktop-testing arm64 2021.1-4 [16.2 kB] 1129s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-radeon1 arm64 2.4.123-1 [20.8 kB] 1129s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontenc1 arm64 1:1.1.8-1build1 [13.9 kB] 1129s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-server0 arm64 1.23.0-1 [35.7 kB] 1129s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 1129s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libglapi-mesa arm64 24.2.8-1ubuntu1 [60.0 kB] 1129s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 1129s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri2-0 arm64 1.17.0-2 [7418 B] 1129s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 1129s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 1129s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 1129s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 1129s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 1129s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 mesa-libgallium arm64 24.2.8-1ubuntu1 [9039 kB] 1129s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libgbm1 arm64 24.2.8-1ubuntu1 [32.9 kB] 1129s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 1129s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 1129s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libvulkan1 arm64 1.4.304.0-1 [158 kB] 1129s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1-mesa-dri arm64 24.2.8-1ubuntu1 [33.5 kB] 1129s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.82.4-1 [97.8 kB] 1129s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.4-1 [18.1 kB] 1129s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-dbusmock all 0.34.0-1 [92.2 kB] 1129s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 1129s Get:29 http://ftpmaster.internal/ubuntu plucky/universe arm64 libglib2.0-tests arm64 2.82.4-1 [2088 kB] 1129s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 1129s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 1129s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 1129s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 1129s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx-mesa0 arm64 24.2.8-1ubuntu1 [164 kB] 1129s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1129s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 1129s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 1129s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 1129s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 1129s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 1129s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 1129s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 1129s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfont2 arm64 1:2.0.6-1build1 [88.7 kB] 1129s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbfile1 arm64 1:1.1.0-1build4 [69.4 kB] 1129s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 1129s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 1129s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-xkb-utils arm64 7.7+9 [165 kB] 1130s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 1130s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 1130s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 1130s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 1130s Get:52 http://ftpmaster.internal/ubuntu plucky/universe arm64 xvfb arm64 2:21.1.14-2ubuntu1 [868 kB] 1130s Fetched 14.7 MB in 1s (12.3 MB/s) 1130s Selecting previously unselected package dbus-x11. 1130s (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 ... 80201 files and directories currently installed.) 1130s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_arm64.deb ... 1130s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 1130s Selecting previously unselected package desktop-file-utils. 1130s Preparing to unpack .../01-desktop-file-utils_0.28-1_arm64.deb ... 1130s Unpacking desktop-file-utils (0.28-1) ... 1130s Selecting previously unselected package native-architecture. 1130s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 1130s Unpacking native-architecture (0.2.3) ... 1130s Selecting previously unselected package libgirepository-2.0-0:arm64. 1130s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_arm64.deb ... 1130s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 1130s Selecting previously unselected package girepository-tools:arm64. 1130s Preparing to unpack .../04-girepository-tools_2.82.4-1_arm64.deb ... 1130s Unpacking girepository-tools:arm64 (2.82.4-1) ... 1130s Selecting previously unselected package gnome-desktop-testing. 1130s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_arm64.deb ... 1130s Unpacking gnome-desktop-testing (2021.1-4) ... 1130s Selecting previously unselected package libdrm-radeon1:arm64. 1130s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_arm64.deb ... 1130s Unpacking libdrm-radeon1:arm64 (2.4.123-1) ... 1131s Selecting previously unselected package libfontenc1:arm64. 1131s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_arm64.deb ... 1131s Unpacking libfontenc1:arm64 (1:1.1.8-1build1) ... 1131s Selecting previously unselected package libwayland-server0:arm64. 1131s Preparing to unpack .../08-libwayland-server0_1.23.0-1_arm64.deb ... 1131s Unpacking libwayland-server0:arm64 (1.23.0-1) ... 1131s Selecting previously unselected package libxcb-randr0:arm64. 1131s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_arm64.deb ... 1131s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 1131s Selecting previously unselected package libglapi-mesa:arm64. 1131s Preparing to unpack .../10-libglapi-mesa_24.2.8-1ubuntu1_arm64.deb ... 1131s Unpacking libglapi-mesa:arm64 (24.2.8-1ubuntu1) ... 1131s Selecting previously unselected package libx11-xcb1:arm64. 1131s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 1131s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 1131s Selecting previously unselected package libxcb-dri2-0:arm64. 1131s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_arm64.deb ... 1131s Unpacking libxcb-dri2-0:arm64 (1.17.0-2) ... 1131s Selecting previously unselected package libxcb-dri3-0:arm64. 1131s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_arm64.deb ... 1131s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 1131s Selecting previously unselected package libxcb-present0:arm64. 1131s Preparing to unpack .../14-libxcb-present0_1.17.0-2_arm64.deb ... 1131s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 1131s Selecting previously unselected package libxcb-sync1:arm64. 1131s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_arm64.deb ... 1131s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 1131s Selecting previously unselected package libxcb-xfixes0:arm64. 1131s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_arm64.deb ... 1131s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 1131s Selecting previously unselected package libxshmfence1:arm64. 1131s Preparing to unpack .../17-libxshmfence1_1.3-1build5_arm64.deb ... 1131s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 1131s Selecting previously unselected package mesa-libgallium:arm64. 1131s Preparing to unpack .../18-mesa-libgallium_24.2.8-1ubuntu1_arm64.deb ... 1131s Unpacking mesa-libgallium:arm64 (24.2.8-1ubuntu1) ... 1131s Selecting previously unselected package libgbm1:arm64. 1131s Preparing to unpack .../19-libgbm1_24.2.8-1ubuntu1_arm64.deb ... 1131s Unpacking libgbm1:arm64 (24.2.8-1ubuntu1) ... 1131s Selecting previously unselected package python3-packaging. 1131s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 1131s Unpacking python3-packaging (24.2-1) ... 1131s Selecting previously unselected package libgio-2.0-dev-bin. 1131s Preparing to unpack .../21-libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 1131s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 1131s Selecting previously unselected package libvulkan1:arm64. 1131s Preparing to unpack .../22-libvulkan1_1.4.304.0-1_arm64.deb ... 1131s Unpacking libvulkan1:arm64 (1.4.304.0-1) ... 1131s Selecting previously unselected package libgl1-mesa-dri:arm64. 1131s Preparing to unpack .../23-libgl1-mesa-dri_24.2.8-1ubuntu1_arm64.deb ... 1131s Unpacking libgl1-mesa-dri:arm64 (24.2.8-1ubuntu1) ... 1131s Selecting previously unselected package libglib2.0-bin. 1131s Preparing to unpack .../24-libglib2.0-bin_2.82.4-1_arm64.deb ... 1131s Unpacking libglib2.0-bin (2.82.4-1) ... 1131s Selecting previously unselected package libglib2.0-dev-bin. 1131s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.4-1_arm64.deb ... 1131s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 1131s Selecting previously unselected package python3-dbusmock. 1131s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ... 1131s Unpacking python3-dbusmock (0.34.0-1) ... 1131s Selecting previously unselected package tzdata-legacy. 1131s Preparing to unpack .../27-tzdata-legacy_2024b-4ubuntu1_all.deb ... 1131s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 1131s Selecting previously unselected package libglib2.0-tests. 1131s Preparing to unpack .../28-libglib2.0-tests_2.82.4-1_arm64.deb ... 1131s Unpacking libglib2.0-tests (2.82.4-1) ... 1132s Selecting previously unselected package libxcb-glx0:arm64. 1132s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_arm64.deb ... 1132s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 1132s Selecting previously unselected package libxcb-shm0:arm64. 1132s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_arm64.deb ... 1132s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 1132s Selecting previously unselected package libxfixes3:arm64. 1132s Preparing to unpack .../31-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 1132s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 1132s Selecting previously unselected package libxxf86vm1:arm64. 1132s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 1132s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 1132s Selecting previously unselected package libglx-mesa0:arm64. 1132s Preparing to unpack .../33-libglx-mesa0_24.2.8-1ubuntu1_arm64.deb ... 1132s Unpacking libglx-mesa0:arm64 (24.2.8-1ubuntu1) ... 1132s Selecting previously unselected package x11-common. 1132s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1132s Unpacking x11-common (1:7.7+23ubuntu3) ... 1132s Selecting previously unselected package libice6:arm64. 1132s Preparing to unpack .../35-libice6_2%3a1.1.1-1_arm64.deb ... 1132s Unpacking libice6:arm64 (2:1.1.1-1) ... 1132s Selecting previously unselected package libpixman-1-0:arm64. 1132s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_arm64.deb ... 1132s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 1132s Selecting previously unselected package libsm6:arm64. 1132s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_arm64.deb ... 1132s Unpacking libsm6:arm64 (2:1.2.4-1) ... 1132s Selecting previously unselected package libxt6t64:arm64. 1132s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 1132s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 1132s Selecting previously unselected package libxmu6:arm64. 1132s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 1132s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 1132s Selecting previously unselected package libxpm4:arm64. 1132s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 1132s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 1132s Selecting previously unselected package libxaw7:arm64. 1132s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_arm64.deb ... 1132s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 1132s Selecting previously unselected package libxfont2:arm64. 1132s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_arm64.deb ... 1132s Unpacking libxfont2:arm64 (1:2.0.6-1build1) ... 1132s Selecting previously unselected package libxkbfile1:arm64. 1132s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_arm64.deb ... 1132s Unpacking libxkbfile1:arm64 (1:1.1.0-1build4) ... 1132s Selecting previously unselected package libxrender1:arm64. 1132s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 1132s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 1132s Selecting previously unselected package libxrandr2:arm64. 1132s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_arm64.deb ... 1132s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 1132s Selecting previously unselected package x11-xkb-utils. 1132s Preparing to unpack .../46-x11-xkb-utils_7.7+9_arm64.deb ... 1132s Unpacking x11-xkb-utils (7.7+9) ... 1132s Selecting previously unselected package xserver-common. 1132s Preparing to unpack .../47-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 1132s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 1132s Selecting previously unselected package libglvnd0:arm64. 1132s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_arm64.deb ... 1132s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 1132s Selecting previously unselected package libglx0:arm64. 1132s Preparing to unpack .../49-libglx0_1.7.0-1build1_arm64.deb ... 1132s Unpacking libglx0:arm64 (1.7.0-1build1) ... 1132s Selecting previously unselected package libgl1:arm64. 1132s Preparing to unpack .../50-libgl1_1.7.0-1build1_arm64.deb ... 1132s Unpacking libgl1:arm64 (1.7.0-1build1) ... 1132s Selecting previously unselected package xvfb. 1132s Preparing to unpack .../51-xvfb_2%3a21.1.14-2ubuntu1_arm64.deb ... 1132s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 1132s Setting up gnome-desktop-testing (2021.1-4) ... 1132s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 1132s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 1132s Setting up libwayland-server0:arm64 (1.23.0-1) ... 1132s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 1132s Setting up native-architecture (0.2.3) ... 1132s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 1132s Setting up desktop-file-utils (0.28-1) ... 1132s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 1132s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 1132s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 1132s Setting up libdrm-radeon1:arm64 (2.4.123-1) ... 1132s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 1132s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 1132s Setting up x11-common (1:7.7+23ubuntu3) ... 1133s Setting up libglib2.0-bin (2.82.4-1) ... 1133s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 1133s Setting up python3-dbusmock (0.34.0-1) ... 1133s Setting up tzdata-legacy (2024b-4ubuntu1) ... 1133s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 1133s Setting up libxcb-present0:arm64 (1.17.0-2) ... 1133s Setting up libfontenc1:arm64 (1:1.1.8-1build1) ... 1133s Setting up python3-packaging (24.2-1) ... 1133s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 1133s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 1133s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 1133s Setting up libglapi-mesa:arm64 (24.2.8-1ubuntu1) ... 1133s Setting up libvulkan1:arm64 (1.4.304.0-1) ... 1133s Setting up libxcb-dri2-0:arm64 (1.17.0-2) ... 1133s Setting up libxshmfence1:arm64 (1.3-1build5) ... 1133s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 1133s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 1133s Setting up libxkbfile1:arm64 (1:1.1.0-1build4) ... 1133s Setting up libxfont2:arm64 (1:2.0.6-1build1) ... 1133s Setting up libice6:arm64 (2:1.1.1-1) ... 1133s Setting up mesa-libgallium:arm64 (24.2.8-1ubuntu1) ... 1133s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 1133s Setting up girepository-tools:arm64 (2.82.4-1) ... 1133s Setting up libgbm1:arm64 (24.2.8-1ubuntu1) ... 1133s Setting up libgl1-mesa-dri:arm64 (24.2.8-1ubuntu1) ... 1133s Setting up libsm6:arm64 (2:1.2.4-1) ... 1133s Setting up libglib2.0-dev-bin (2.82.4-1) ... 1133s Setting up libglx-mesa0:arm64 (24.2.8-1ubuntu1) ... 1133s Setting up libglx0:arm64 (1.7.0-1build1) ... 1133s Setting up libgl1:arm64 (1.7.0-1build1) ... 1133s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 1133s Setting up libglib2.0-tests (2.82.4-1) ... 1134s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 1134s Setting up libxaw7:arm64 (2:1.0.16-1) ... 1134s Setting up x11-xkb-utils (7.7+9) ... 1134s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 1134s Setting up xvfb (2:21.1.14-2ubuntu1) ... 1134s Processing triggers for man-db (2.13.0-1) ... 1135s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1139s autopkgtest [09:04:07]: test installed-tests: [----------------------- 1139s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1139s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1139s group entry: ubuntu:x:1000: 1139s Environment: 1139s ADTTMP=/tmp/autopkgtest.55EnFI/autopkgtest_tmp 1139s ADT_ARTIFACTS=/tmp/autopkgtest.55EnFI/installed-tests-artifacts 1139s ADT_TEST_TRIGGERS=pygobject/3.50.0-4 1139s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.55EnFI/installed-tests-artifacts 1139s AUTOPKGTEST_TESTBED_ARCH=arm64 1139s AUTOPKGTEST_TEST_ARCH=arm64 1139s AUTOPKGTEST_TMP=/tmp/autopkgtest.55EnFI/autopkgtest_tmp 1139s DEBIAN_FRONTEND=noninteractive 1139s DEB_BUILD_OPTIONS=parallel=2 1139s GIO_USE_VFS=local 1139s GIO_USE_VOLUME_MONITOR=unix 1139s HOME=/home/ubuntu 1139s LANG=C.UTF-8 1139s LOGNAME=ubuntu 1139s MAIL=/var/mail/ubuntu 1139s OLDPWD=/home/ubuntu 1139s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1139s PWD=/tmp/autopkgtest.55EnFI/build.6ph/src 1139s SHELL=/bin/bash 1139s SHLVL=1 1139s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests 1139s SUDO_GID=1000 1139s SUDO_UID=1000 1139s SUDO_USER=ubuntu 1139s TERM=linux 1139s USER=ubuntu 1139s XDG_RUNTIME_DIR=/tmp/autopkgtest.55EnFI/autopkgtest_tmp 1139s http_proxy=http://squid.internal:3128 1139s https_proxy=http://squid.internal:3128 1139s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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 1140s run-with-locales: de_DE=ISO-8859-1... 1140s Character set: ISO-8859-1 1140s Source file: de_DE 1140s Output: /tmp/tmp.DHKCiwo3Qv/de_DE 1140s run-with-locales: de_DE.utf8... 1140s Character set: UTF-8 1140s Source file: de_DE 1140s Output: /tmp/tmp.DHKCiwo3Qv/de_DE.utf8 1142s run-with-locales: de_DE@euro.utf8... 1142s Character set: UTF-8 1142s Source file: de_DE@euro 1142s Output: /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8 1144s run-with-locales: el_GR.utf8... 1144s Character set: UTF-8 1144s Source file: el_GR 1144s Output: /tmp/tmp.DHKCiwo3Qv/el_GR.utf8 1146s run-with-locales: en_GB=ISO-8859-1... 1146s Character set: ISO-8859-1 1146s Source file: en_GB 1146s Output: /tmp/tmp.DHKCiwo3Qv/en_GB 1146s run-with-locales: en_GB.utf8... 1146s Character set: UTF-8 1146s Source file: en_GB 1146s Output: /tmp/tmp.DHKCiwo3Qv/en_GB.utf8 1148s run-with-locales: en_US=ISO-8859-1... 1148s Character set: ISO-8859-1 1148s Source file: en_US 1148s Output: /tmp/tmp.DHKCiwo3Qv/en_US 1149s run-with-locales: en_US.utf8... 1149s Character set: UTF-8 1149s Source file: en_US 1149s Output: /tmp/tmp.DHKCiwo3Qv/en_US.utf8 1150s run-with-locales: es_ES.utf8... 1150s Character set: UTF-8 1150s Source file: es_ES 1150s Output: /tmp/tmp.DHKCiwo3Qv/es_ES.utf8 1152s run-with-locales: fa_IR=UTF-8... 1152s Character set: UTF-8 1152s Source file: fa_IR 1152s Output: /tmp/tmp.DHKCiwo3Qv/fa_IR 1154s run-with-locales: fa_IR.utf8... 1154s Character set: UTF-8 1154s Source file: fa_IR 1154s Output: /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8 1156s run-with-locales: fr_FR.utf8... 1156s Character set: UTF-8 1156s Source file: fr_FR 1156s Output: /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8 1158s run-with-locales: hr_HR.utf8... 1158s Character set: UTF-8 1158s Source file: hr_HR 1158s Output: /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8 1160s run-with-locales: ja_JP.utf8... 1160s Character set: UTF-8 1160s Source file: ja_JP 1160s Output: /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8 1161s run-with-locales: ja_JP.EUC-JP... 1161s Character set: EUC-JP 1161s Source file: ja_JP 1161s Output: /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp 1161s run-with-locales: lt_LT.utf8... 1161s Character set: UTF-8 1161s Source file: lt_LT 1161s Output: /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8 1163s run-with-locales: pl_PL=ISO-8859-2... 1163s Character set: ISO-8859-2 1163s Source file: pl_PL 1163s Output: /tmp/tmp.DHKCiwo3Qv/pl_PL 1164s run-with-locales: pl_PL.ISO-8859-2... 1164s Character set: ISO-8859-2 1164s Source file: pl_PL 1164s Output: /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592 1164s run-with-locales: pl_PL.utf8... 1164s Character set: UTF-8 1164s Source file: pl_PL 1164s Output: /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8 1166s run-with-locales: ru_RU=ISO-8859-5... 1166s Character set: ISO-8859-5 1166s Source file: ru_RU 1166s Output: /tmp/tmp.DHKCiwo3Qv/ru_RU 1166s run-with-locales: ru_RU.utf8... 1166s Character set: UTF-8 1166s Source file: ru_RU 1166s Output: /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8 1168s run-with-locales: sr_RS=UTF-8... 1168s Character set: UTF-8 1168s Source file: sr_RS 1168s Output: /tmp/tmp.DHKCiwo3Qv/sr_RS 1170s run-with-locales: sr_RS@latin=UTF-8... 1170s Character set: UTF-8 1170s Source file: sr_RS@latin 1170s Output: /tmp/tmp.DHKCiwo3Qv/sr_RS@latin 1172s run-with-locales: sv_SE=ISO-8859-1... 1172s Character set: ISO-8859-1 1172s Source file: sv_SE 1172s Output: /tmp/tmp.DHKCiwo3Qv/sv_SE 1172s run-with-locales: sv_SE.utf8... 1172s Character set: UTF-8 1172s Source file: sv_SE 1172s Output: /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8 1174s run-with-locales: tr_TR=ISO-8859-9... 1174s Character set: ISO-8859-9 1174s Source file: tr_TR 1174s Output: /tmp/tmp.DHKCiwo3Qv/tr_TR 1175s run-with-locales: tr_TR.utf8... 1175s Character set: UTF-8 1175s Source file: tr_TR 1175s Output: /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8 1176s run-with-locales: tt_RU=UTF-8... 1176s Character set: UTF-8 1176s Source file: tt_RU 1176s Output: /tmp/tmp.DHKCiwo3Qv/tt_RU 1178s run-with-locales: tt_RU.utf8... 1178s Character set: UTF-8 1178s Source file: tt_RU 1178s Output: /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8 1180s run-with-locales: tt_RU@iqtelif=UTF-8... 1180s Character set: UTF-8 1180s Source file: tt_RU@iqtelif 1180s Output: /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif 1182s /tmp/tmp.DHKCiwo3Qv 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/de_DE/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/en_US.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/ru_RU/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL.iso88592/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/en_GB.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/hr_HR.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/es_ES.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/en_US 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/en_US/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/lt_LT.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/tt_RU@iqtelif/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/el_GR.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/de_DE@euro.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS@latin/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/en_GB 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/en_GB/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/tr_TR/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/fr_FR.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.eucjp/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/fa_IR/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/pl_PL/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/ja_JP.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/de_DE.utf8/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/sr_RS/LC_TELEPHONE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_MEASUREMENT 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_CTYPE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_ADDRESS 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_MONETARY 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_NUMERIC 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_COLLATE 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_NAME 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_IDENTIFICATION 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_PAPER 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_TIME 1182s /tmp/tmp.DHKCiwo3Qv/sv_SE/LC_TELEPHONE 1182s 1..319 1182s # Running test: glib/notify-init.test 1182s TAP version 14 1182s # random seed: R02S7c1627c354c5495af863b4d1a8a42993 1182s 1..1 1182s # Start of properties tests 1182s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1182s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1182s ok 1 /properties/notify-in-init 1182s # End of properties tests 1182s ok - glib/notify-init.test 1182s # Running test: glib/gdbus-sasl.test 1182s TAP version 14 1182s # random seed: R02S5134ff36cfd46d4056e061111e4fc5f8 1182s 1..1 1182s # Start of gdbus tests 1182s # Start of sasl tests 1182s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/home 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/cache 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/system-config2 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/config 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/system-data2 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/data 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/state 1182s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_2AG7Z2/gdbus/sasl/server/.dirs/runtime 1182s # New handshake: EXTERNAL with incorrect initial response 1182s # C:“AUTH EXTERNAL 30†1182s # Expect: /^REJECTED.*$/ 1182s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1182s # New handshake: EXTERNAL without initial response, failing to authenticate 1182s # C:“AUTH EXTERNAL†1182s # Expect: /^DATA$/ 1182s # S:“DATA†1182s # C:“DATA 30†1182s # Expect: /^REJECTED.*$/ 1182s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1182s # New handshake: EXTERNAL with initial response 1182s # C:“AUTH EXTERNAL 31303030†1182s # Expect: /^OK [0-9a-f]+$/ 1182s # S:“OK eff040ddf967c1141fd070c4678b6eb2†1182s # New handshake: EXTERNAL without initial response 1182s # C:“AUTH EXTERNAL†1182s # Expect: /^DATA$/ 1182s # S:“DATA†1182s # C:“DATA 31303030†1182s # Expect: /^OK [0-9a-f]+$/ 1182s # S:“OK eff040ddf967c1141fd070c4678b6eb2†1182s # New handshake: EXTERNAL with empty authorization identity 1182s # C:“AUTH EXTERNAL†1182s # Expect: /^DATA$/ 1182s # S:“DATA†1182s # C:“DATA†1182s # Expect: /^OK [0-9a-f]+$/ 1182s # S:“OK eff040ddf967c1141fd070c4678b6eb2†1182s # New handshake: EXTERNAL with empty authorization identity and whitespace 1182s # C:“AUTH EXTERNAL†1182s # Expect: /^DATA$/ 1182s # S:“DATA†1182s # C:“DATA †1182s # Expect: /^OK [0-9a-f]+$/ 1182s # S:“OK eff040ddf967c1141fd070c4678b6eb2†1182s ok 1 /gdbus/sasl/server 1182s # End of sasl tests 1182s # End of gdbus tests 1182s ok - glib/gdbus-sasl.test 1182s # Running test: glib/ifaceproperties.test 1182s TAP version 14 1182s # random seed: R02S28cfea270e511ff4edad3cd6398e3966 1182s 1..7 1182s # Start of interface tests 1182s # Start of properties tests 1182s ok 1 /interface/properties/set 1182s ok 2 /interface/properties/notify 1182s ok 3 /interface/properties/find-overridden 1182s ok 4 /interface/properties/list-overridden 1182s ok 5 /interface/properties/find-interface 1182s ok 6 /interface/properties/list-interface 1182s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1182s ok 7 /interface/properties/not-overridden 1182s # End of properties tests 1182s # End of interface tests 1182s ok - glib/ifaceproperties.test 1182s # Running test: glib/socket.test 1182s TAP version 14 1182s # random seed: R02S78d5aedd7a6b954b3dd38947816a5dce 1182s 1..28 1182s # Start of socket tests 1183s ok 1 /socket/ipv4_sync 1183s # slow test /socket/ipv4_sync executed in 1.00 secs 1184s ok 2 /socket/ipv4_async 1184s # slow test /socket/ipv4_async executed in 1.00 secs 1184s ok 3 /socket/ipv6_sync 1184s ok 4 /socket/ipv6_async 1184s ok 5 /socket/ipv6_v4mapped 1185s ok 6 /socket/close_graceful 1185s # slow test /socket/close_graceful executed in 1.00 secs 1185s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1185s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1185s ok 8 /socket/fd_reuse 1185s ok 9 /socket/address 1185s ok 10 /socket/unix-from-fd 1185s ok 11 /socket/unix-connection 1185s ok 12 /socket/unix-connection-ancillary-data 1185s ok 13 /socket/source-postmortem 1185s ok 14 /socket/read_write 1185s ok 15 /socket/read_writev 1185s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1185s ok 16 /socket/receive_bytes 1185s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1185s ok 17 /socket/receive_bytes_from 1185s # Start of ipv4_sync tests 1185s ok 18 /socket/ipv4_sync/datagram 1185s # Start of datagram tests 1186s ok 19 /socket/ipv4_sync/datagram/timeouts 1186s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1186s # End of datagram tests 1186s # End of ipv4_sync tests 1186s # Start of ipv6_sync tests 1186s ok 20 /socket/ipv6_sync/datagram 1186s # Start of datagram tests 1187s ok 21 /socket/ipv6_sync/datagram/timeouts 1187s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1187s # End of datagram tests 1187s # End of ipv6_sync tests 1187s # Start of reuse tests 1187s ok 22 /socket/reuse/tcp 1187s ok 23 /socket/reuse/udp 1187s # End of reuse tests 1187s # Start of get_available tests 1187s ok 24 /socket/get_available/datagram 1187s ok 25 /socket/get_available/stream 1187s # End of get_available tests 1187s # Start of credentials tests 1187s # Supported on this OS: GCredentials:linux-ucred:pid=0 1187s ok 26 /socket/credentials/tcp_client 1187s # Supported on this OS: GCredentials:linux-ucred:pid=0 1187s ok 27 /socket/credentials/tcp_server 1187s # Supported on this OS: GCredentials:linux-ucred:pid=1912,uid=1000,gid=1000 1187s ok 28 /socket/credentials/unix_socketpair 1187s # End of credentials tests 1187s # End of socket tests 1187s ok - glib/socket.test 1187s # Running test: glib/gapplication.test 1187s TAP version 14 1187s # random seed: R02Sd9235b137440aa0358c7abeaac73a37c 1187s 1..24 1187s # Start of gapplication tests 1187s ok 1 /gapplication/no-dbus 1187s ok 2 /gapplication/no-appid 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1187s # 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 3 /gapplication/properties 1188s ok 4 /gapplication/app-id 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 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 5 /gapplication/quit 1188s ok 6 /gapplication/registered 1188s ok 7 /gapplication/local-actions 1188s ok 8 /gapplication/local-command-line 1188s ok 9 /gapplication/resource-path 1188s ok 10 /gapplication/test-help 1188s ok 11 /gapplication/command-line-done 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 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 12 /gapplication/test-busy 1188s ok 13 /gapplication/test-handle-local-options1 1188s ok 14 /gapplication/test-handle-local-options2 1188s ok 15 /gapplication/test-handle-local-options3 1188s ok 16 /gapplication/api 1188s ok 17 /gapplication/version 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # launching subprocess 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 18 /gapplication/replace 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # launching subprocess 1188s # Executing: glib/gapplication.test 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 19 /gapplication/no-replace 1188s # slow test /gapplication/no-replace executed in 0.51 secs 1188s # Start of dbus tests 1188s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # Message 0 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 1 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 2 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 20 /gapplication/dbus/activate 1188s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # Message 0 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1188s # Message 1 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 2 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 3 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 21 /gapplication/dbus/open 1188s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # Message 0 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 1 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 2 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 22 /gapplication/dbus/command-line 1188s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 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 23 /gapplication/dbus/command-line-done 1188s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # Message 0 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 1 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 2 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 3 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 4 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 5 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 6 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 7 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 8 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 9 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 10 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Message 11 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 24 /gapplication/dbus/activate-action 1188s # End of dbus tests 1188s # End of gapplication tests 1188s ok - glib/gapplication.test 1188s # Running test: glib/union-info.test 1188s TAP version 14 1188s # random seed: R02S5a4b473d54533fd9306c1a68eaf7c8f2 1188s 1..2 1188s # Start of union-info tests 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_ZXO8Z2/union-info/basic/.dirs/runtime 1188s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1188s # /union-info/basic summary: Test basic properties of GIUnionInfo 1188s ok 1 /union-info/basic 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_ZXO8Z2/union-info/methods/.dirs/runtime 1188s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1188s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1188s ok 2 /union-info/methods 1188s # End of union-info tests 1188s ok - glib/union-info.test 1188s # Running test: glib/portal-support-flatpak-network-only.test 1188s TAP version 14 1188s # random seed: R02Sf9707b74f24066dd9338eafeb7ad11e3 1188s 1..1 1188s # Start of portal-support tests 1188s # Start of flatpak tests 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/runtime 1188s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_M4M8Z2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1188s ok 1 /portal-support/flatpak/network 1188s # End of flatpak tests 1188s # End of portal-support tests 1188s ok - glib/portal-support-flatpak-network-only.test 1188s # Running test: glib/binding.test 1188s TAP version 14 1188s # random seed: R02S53d80282de2b49ddaa199c4920459fe3 1188s 1..19 1188s # Start of binding tests 1188s ok 1 /binding/default 1188s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1188s ok 2 /binding/canonicalisation 1188s ok 3 /binding/bidirectional 1188s ok 4 /binding/transform 1188s ok 5 /binding/transform-default 1188s ok 6 /binding/transform-closure 1188s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1188s ok 7 /binding/chain 1188s ok 8 /binding/sync-create 1188s ok 9 /binding/invert-boolean 1188s ok 10 /binding/same-object 1188s ok 11 /binding/unbind 1188s ok 12 /binding/unbind-weak 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1188s ok 13 /binding/unbind-multiple 1188s ok 14 /binding/fail 1188s ok 15 /binding/interface 1188s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1188s ok 16 /binding/concurrent-unbind 1188s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1188s ok 17 /binding/concurrent-finalizing 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1188s ok 18 /binding/dispose-source 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1188s ok 19 /binding/dispose-target 1188s # End of binding tests 1188s ok - glib/binding.test 1188s # Running test: glib/messages-low-memory.py.test 1188s TAP version 13 1188s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1188s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1188s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1188s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1188s # Return code: -6 1188s # Output: 1188s # Error: GLib-Message: 09:04:56.663: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1188s # GLib-Message: 09:04:56.664: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1188s # ../../../glib/gprintf.c:350: failed to allocate memory 1188s 1..1 1188s ok - glib/messages-low-memory.py.test 1188s # Running test: glib/rwlock.test 1188s TAP version 14 1188s # random seed: R02Sa43e2cec9c61b9a2e0419db703dbbba3 1188s 1..8 1188s # Start of thread tests 1188s ok 1 /thread/rwlock1 1188s ok 2 /thread/rwlock2 1188s ok 3 /thread/rwlock3 1188s ok 4 /thread/rwlock4 1188s ok 5 /thread/rwlock5 1188s ok 6 /thread/rwlock6 1193s ok 7 /thread/rwlock7 1193s # slow test /thread/rwlock7 executed in 4.57 secs 1193s # Executing: glib/rwlock.test 1193s ok 8 /thread/rwlock8 1193s # End of thread tests 1193s ok - glib/rwlock.test 1193s # Running test: glib/mkenums.py.test 1193s TAP version 13 1193s ok 1 __main__.TestMkenums.test_available_in 1193s # tmpdir: /tmp/tmp6bxnh3hk 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmp6bxnh3hk/tmpkq2dahxa.h: 1193s # typedef enum { 1193s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1193s # } GDBusServerFlags; 1193s # 1193s # /tmp/tmp6bxnh3hk/tmpsatp26zs.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6bxnh3hk/tmpsatp26zs.template', '/tmp/tmp6bxnh3hk/tmpkq2dahxa.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmp6bxnh3hk/tmpkq2dahxa.h 1193s # basename: tmpkq2dahxa.h 1193s # enumeration-production 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-header 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-production 1193s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1193s # valuenick: user 1193s # valuenum: 4 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-tail 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1193s # tmpdir: /tmp/tmpcju2rynp 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpcju2rynp/tmp1iryenuj.h: 1193s # typedef enum { 1193s # ENUM_VALUE_WITH_COMMA = ',', 1193s # } TestCommaEnum; 1193s # 1193s # /tmp/tmpcju2rynp/tmpzuhd81bq.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcju2rynp/tmpzuhd81bq.template', '/tmp/tmpcju2rynp/tmp1iryenuj.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpcju2rynp/tmp1iryenuj.h 1193s # basename: tmp1iryenuj.h 1193s # enumeration-production 1193s # EnumName: TestCommaEnum 1193s # enum_name: test_comma_enum 1193s # ENUMNAME: TEST_COMMA_ENUM 1193s # ENUMSHORT: COMMA_ENUM 1193s # ENUMPREFIX: TEST 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-header 1193s # EnumName: TestCommaEnum 1193s # enum_name: test_comma_enum 1193s # ENUMNAME: TEST_COMMA_ENUM 1193s # ENUMSHORT: COMMA_ENUM 1193s # ENUMPREFIX: TEST 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-production 1193s # VALUENAME: ENUM_VALUE_WITH_COMMA 1193s # valuenick: comma 1193s # valuenum: 44 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-tail 1193s # EnumName: TestCommaEnum 1193s # enum_name: test_comma_enum 1193s # ENUMNAME: TEST_COMMA_ENUM 1193s # ENUMSHORT: COMMA_ENUM 1193s # ENUMPREFIX: TEST 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 3 __main__.TestMkenums.test_deprecated_in 1193s # tmpdir: /tmp/tmpse26llfj 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpse26llfj/tmpddvkxd7i.h: 1193s # typedef enum { 1193s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1193s # } GDBusServerFlags; 1193s # 1193s # /tmp/tmpse26llfj/tmpw4jjqaru.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpse26llfj/tmpw4jjqaru.template', '/tmp/tmpse26llfj/tmpddvkxd7i.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpse26llfj/tmpddvkxd7i.h 1193s # basename: tmpddvkxd7i.h 1193s # enumeration-production 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-header 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-production 1193s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1193s # valuenick: user 1193s # valuenum: 4 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-tail 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 4 __main__.TestMkenums.test_deprecated_in_for 1193s # tmpdir: /tmp/tmpy4_gvlr7 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpy4_gvlr7/tmphg2zijuf.h: 1193s # typedef enum { 1193s # 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) 1193s # } GDBusServerFlags; 1193s # 1193s # /tmp/tmpy4_gvlr7/tmpgq3t24ix.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy4_gvlr7/tmpgq3t24ix.template', '/tmp/tmpy4_gvlr7/tmphg2zijuf.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpy4_gvlr7/tmphg2zijuf.h 1193s # basename: tmphg2zijuf.h 1193s # enumeration-production 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-header 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-production 1193s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1193s # valuenick: user 1193s # valuenum: 4 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # value-tail 1193s # EnumName: GDBusServerFlags 1193s # enum_name: g_dbus_server_flags 1193s # ENUMNAME: G_DBUS_SERVER_FLAGS 1193s # ENUMSHORT: DBUS_SERVER_FLAGS 1193s # ENUMPREFIX: G 1193s # enumsince: 1193s # type: flags 1193s # Type: Flags 1193s # TYPE: FLAGS 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 5 __main__.TestMkenums.test_empty_header 1193s # tmpdir: /tmp/tmp1mxscm3d 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmp1mxscm3d/tmp3y31yjna.h: 1193s # /tmp/tmp1mxscm3d/tmpojkx7xd5.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1mxscm3d/tmpojkx7xd5.template', '/tmp/tmp1mxscm3d/tmp3y31yjna.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 6 __main__.TestMkenums.test_empty_template 1193s # tmpdir: /tmp/tmpc7p4psl1 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpc7p4psl1/tmp0se2j4u6.template: 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpc7p4psl1/tmp0se2j4u6.template'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # 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. */ 1193s # 1193s # 1193s # /* Generated data ends here */ 1193s ok 7 __main__.TestMkenums.test_enum_name 1193s # tmpdir: /tmp/tmpqd3gjctt 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpqd3gjctt/tmps3rkrijz.h: 1193s # typedef enum _SomeEnumIdentifier { 1193s # ENUM_VALUE 1193s # } SomeEnumIdentifier; 1193s # 1193s # /tmp/tmpqd3gjctt/tmpw76_1u34.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqd3gjctt/tmpw76_1u34.template', '/tmp/tmpqd3gjctt/tmps3rkrijz.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpqd3gjctt/tmps3rkrijz.h 1193s # basename: tmps3rkrijz.h 1193s # enumeration-production 1193s # EnumName: SomeEnumIdentifier 1193s # enum_name: some_enum_identifier 1193s # ENUMNAME: SOME_ENUM_IDENTIFIER 1193s # ENUMSHORT: ENUM_IDENTIFIER 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-header 1193s # EnumName: SomeEnumIdentifier 1193s # enum_name: some_enum_identifier 1193s # ENUMNAME: SOME_ENUM_IDENTIFIER 1193s # ENUMSHORT: ENUM_IDENTIFIER 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-production 1193s # VALUENAME: ENUM_VALUE 1193s # valuenick: value 1193s # valuenum: 0 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-tail 1193s # EnumName: SomeEnumIdentifier 1193s # enum_name: some_enum_identifier 1193s # ENUMNAME: SOME_ENUM_IDENTIFIER 1193s # ENUMSHORT: ENUM_IDENTIFIER 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 8 __main__.TestMkenums.test_enum_private_public 1193s # tmpdir: /tmp/tmpom13eh6j 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpom13eh6j/tmpee09tf06.h: 1193s # typedef enum { 1193s # ENUM_VALUE_PUBLIC1, 1193s # /*< private >*/ 1193s # ENUM_VALUE_PRIVATE, 1193s # } SomeEnumA 1193s # 1193s # /tmp/tmpom13eh6j/tmpd7lqqxrq.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpom13eh6j/tmpd7lqqxrq.template', '/tmp/tmpom13eh6j/tmpee09tf06.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpom13eh6j/tmpee09tf06.h 1193s # basename: tmpee09tf06.h 1193s # enumeration-production 1193s # EnumName: SomeEnumA 1193s # enum_name: some_enum_a 1193s # ENUMNAME: SOME_ENUM_A 1193s # ENUMSHORT: ENUM_A 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-header 1193s # EnumName: SomeEnumA 1193s # enum_name: some_enum_a 1193s # ENUMNAME: SOME_ENUM_A 1193s # ENUMSHORT: ENUM_A 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-production 1193s # VALUENAME: ENUM_VALUE_PUBLIC1 1193s # valuenick: public1 1193s # valuenum: 0 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-tail 1193s # EnumName: SomeEnumA 1193s # enum_name: some_enum_a 1193s # ENUMNAME: SOME_ENUM_A 1193s # ENUMSHORT: ENUM_A 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s # /tmp/tmpom13eh6j/tmp9yh_igm_.h: 1193s # typedef enum { 1193s # /*< private >*/ 1193s # ENUM_VALUE_PRIVATE, 1193s # /*< public >*/ 1193s # ENUM_VALUE_PUBLIC2, 1193s # } SomeEnumB; 1193s # 1193s # /tmp/tmpom13eh6j/tmpynjoatkz.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpom13eh6j/tmpynjoatkz.template', '/tmp/tmpom13eh6j/tmp9yh_igm_.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpom13eh6j/tmp9yh_igm_.h 1193s # basename: tmp9yh_igm_.h 1193s # enumeration-production 1193s # EnumName: SomeEnumB 1193s # enum_name: some_enum_b 1193s # ENUMNAME: SOME_ENUM_B 1193s # ENUMSHORT: ENUM_B 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-header 1193s # EnumName: SomeEnumB 1193s # enum_name: some_enum_b 1193s # ENUMNAME: SOME_ENUM_B 1193s # ENUMSHORT: ENUM_B 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-production 1193s # VALUENAME: ENUM_VALUE_PUBLIC2 1193s # valuenick: public2 1193s # valuenum: 1 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-tail 1193s # EnumName: SomeEnumB 1193s # enum_name: some_enum_b 1193s # ENUMNAME: SOME_ENUM_B 1193s # ENUMSHORT: ENUM_B 1193s # ENUMPREFIX: SOME 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1193s # tmpdir: /tmp/tmpqoesplfa 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmpqoesplfa/tmpj6uuscr9.h: 1193s # typedef enum { 1193s # /*< private >*/ 1193s # ENUM_VALUE_PRIVATE = 5, 1193s # /*< public >*/ 1193s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1193s # } TestSymbolicEnum; 1193s # 1193s # /tmp/tmpqoesplfa/tmp_tqnw63e.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN file-production ***/ 1193s # file-production 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-production ***/ 1193s # 1193s # /*** BEGIN enumeration-production ***/ 1193s # enumeration-production 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END enumeration-production ***/ 1193s # 1193s # /*** BEGIN value-header ***/ 1193s # value-header 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-header ***/ 1193s # 1193s # /*** BEGIN value-production ***/ 1193s # value-production 1193s # VALUENAME: @VALUENAME@ 1193s # valuenick: @valuenick@ 1193s # valuenum: @valuenum@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-production ***/ 1193s # 1193s # /*** BEGIN value-tail ***/ 1193s # value-tail 1193s # EnumName: @EnumName@ 1193s # enum_name: @enum_name@ 1193s # ENUMNAME: @ENUMNAME@ 1193s # ENUMSHORT: @ENUMSHORT@ 1193s # ENUMPREFIX: @ENUMPREFIX@ 1193s # enumsince: @enumsince@ 1193s # type: @type@ 1193s # Type: @Type@ 1193s # TYPE: @TYPE@ 1193s # /*** END value-tail ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # /*** END file-tail ***/ 1193s # 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqoesplfa/tmp_tqnw63e.template', '/tmp/tmpqoesplfa/tmpj6uuscr9.h'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # file-production 1193s # filename: /tmp/tmpqoesplfa/tmpj6uuscr9.h 1193s # basename: tmpj6uuscr9.h 1193s # enumeration-production 1193s # EnumName: TestSymbolicEnum 1193s # enum_name: test_symbolic_enum 1193s # ENUMNAME: TEST_SYMBOLIC_ENUM 1193s # ENUMSHORT: SYMBOLIC_ENUM 1193s # ENUMPREFIX: TEST 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-header 1193s # EnumName: TestSymbolicEnum 1193s # enum_name: test_symbolic_enum 1193s # ENUMNAME: TEST_SYMBOLIC_ENUM 1193s # ENUMSHORT: SYMBOLIC_ENUM 1193s # ENUMPREFIX: TEST 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-production 1193s # VALUENAME: ENUM_VALUE_PUBLIC 1193s # valuenick: public 1193s # valuenum: 7 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # value-tail 1193s # EnumName: TestSymbolicEnum 1193s # enum_name: test_symbolic_enum 1193s # ENUMNAME: TEST_SYMBOLIC_ENUM 1193s # ENUMSHORT: SYMBOLIC_ENUM 1193s # ENUMPREFIX: TEST 1193s # enumsince: 1193s # type: enum 1193s # Type: Enum 1193s # TYPE: ENUM 1193s # file-tail 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1193s # tmpdir: /tmp/tmp2t5nzmqk 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # /tmp/tmp2t5nzmqk/tmpk9_ahq2z.template: 1193s # /*** BEGIN file-header ***/ 1193s # file-header 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-header ***/ 1193s # 1193s # /*** BEGIN comment ***/ 1193s # comment 1193s # comment: @comment@ 1193s # /*** END comment ***/ 1193s # 1193s # /*** BEGIN file-tail ***/ 1193s # file-tail 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # /*** END file-tail ***/ 1193s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2t5nzmqk/tmpk9_ahq2z.template'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: comment 1193s # 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. 1193s # 1193s # 1193s # file-header 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # file-tail 1193s # filename: @filename@ 1193s # basename: @basename@ 1193s # 1193s # comment 1193s # comment: Generated data ends here 1193s ok 11 __main__.TestMkenums.test_help 1193s # tmpdir: /tmp/tmp9as1pva9 1193s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1193s # Running: ['/usr/bin/glib-mkenums', '--help'] 1193s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1193s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1193s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1193s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1193s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1193s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1193s # [--output OUTPUT] [--version] 1193s # [args ...] 1193s # 1193s # positional arguments: 1193s # args One or more input files, or a single argument 1193s # @rspfile_path pointing to a file that contains the 1193s # actual arguments 1193s # 1193s # options: 1193s # -h, --help show this help message and exit 1193s # --identifier-prefix IDPREFIX 1193s # Identifier prefix 1193s # --symbol-prefix SYMPREFIX 1193s # Symbol prefix 1193s # --fhead FHEAD Output file header 1193s # --ftail FTAIL Output file footer 1193s # --fprod FPROD Put out TEXT every time a new input file is being 1193s # processed. 1193s # --eprod EPROD Per enum text, produced prior to value iterations 1193s # --vhead VHEAD Value header, produced before iterating over enum 1193s # values 1193s # --vprod VPROD Value text, produced for each enum value. 1193s # --vtail VTAIL Value tail, produced after iterating over enum values 1193s # --comments COMMENT_TMPL 1193s # Comment structure 1193s # --template TEMPLATE Template file 1193s # --output OUTPUT 1193s # --version, -v Print version information 1193s # 1193s # Production text substitutions: 1193s # @EnumName@ PrefixTheXEnum 1193s # @enum_name@ prefix_the_xenum 1193s # @ENUMNAME@ PREFIX_THE_XENUM 1193s # @ENUMSHORT@ THE_XENUM 1193s # @ENUMPREFIX@ PREFIX 1193s # @enumsince@ the user-provided since value given 1193s # @VALUENAME@ PREFIX_THE_XVALUE 1193s # @valuenick@ the-xvalue 1193s # @valuenum@ the integer value (limited support, Since: 2.26) 1193s # @type@ either enum or flags 1193s # @Type@ either Enum or Flags 1193s # @TYPE@ either ENUM or FLAGS 1193s # @filename@ name of current input file 1193s # @basename@ base name of the current input file (Since: 2.22) 1194s ok 12 __main__.TestMkenums.test_no_args 1194s # tmpdir: /tmp/tmpnw1qoqc1 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # Running: ['/usr/bin/glib-mkenums'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # 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. */ 1194s # 1194s # 1194s # /* Generated data ends here */ 1194s ok 13 __main__.TestMkenums.test_no_headers 1194s # tmpdir: /tmp/tmpdb__f5ek 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpdb__f5ek/tmprs7zy1ej.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdb__f5ek/tmprs7zy1ej.template'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 14 __main__.TestMkenums.test_no_nick 1194s # tmpdir: /tmp/tmpuqc3_j4a 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpuqc3_j4a/tmpn3xyrfn2.h: 1194s # typedef enum { 1194s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1194s # } GeglSamplerType; 1194s # 1194s # /tmp/tmpuqc3_j4a/tmpzkhux3fm.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuqc3_j4a/tmpzkhux3fm.template', '/tmp/tmpuqc3_j4a/tmpn3xyrfn2.h'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpuqc3_j4a/tmpn3xyrfn2.h 1194s # basename: tmpn3xyrfn2.h 1194s # enumeration-production 1194s # EnumName: GeglSamplerType 1194s # enum_name: gegl_sampler_type 1194s # ENUMNAME: GEGL_SAMPLER_TYPE 1194s # ENUMSHORT: SAMPLER_TYPE 1194s # ENUMPREFIX: GEGL 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: GeglSamplerType 1194s # enum_name: gegl_sampler_type 1194s # ENUMNAME: GEGL_SAMPLER_TYPE 1194s # ENUMSHORT: SAMPLER_TYPE 1194s # ENUMPREFIX: GEGL 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: GEGL_SAMPLER_NEAREST 1194s # valuenick: nearest 1194s # valuenum: 0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: GeglSamplerType 1194s # enum_name: gegl_sampler_type 1194s # ENUMNAME: GEGL_SAMPLER_TYPE 1194s # ENUMSHORT: SAMPLER_TYPE 1194s # ENUMPREFIX: GEGL 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1194s # tmpdir: /tmp/tmpju9douhu 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpju9douhu/tmpdwifzleu.h: 1194s # /* Copyright © La Peña */ 1194s # typedef enum { 1194s # ENUM_VALUE 1194s # } SomeEnumIdentifier; 1194s # 1194s # /tmp/tmpju9douhu/tmpmarhs899.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpju9douhu/tmpmarhs899.template', '/tmp/tmpju9douhu/tmpdwifzleu.h'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpju9douhu/tmpdwifzleu.h 1194s # basename: tmpdwifzleu.h 1194s # enumeration-production 1194s # EnumName: SomeEnumIdentifier 1194s # enum_name: some_enum_identifier 1194s # ENUMNAME: SOME_ENUM_IDENTIFIER 1194s # ENUMSHORT: ENUM_IDENTIFIER 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: SomeEnumIdentifier 1194s # enum_name: some_enum_identifier 1194s # ENUMNAME: SOME_ENUM_IDENTIFIER 1194s # ENUMSHORT: ENUM_IDENTIFIER 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: ENUM_VALUE 1194s # valuenick: value 1194s # valuenum: 0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: SomeEnumIdentifier 1194s # enum_name: some_enum_identifier 1194s # ENUMNAME: SOME_ENUM_IDENTIFIER 1194s # ENUMSHORT: ENUM_IDENTIFIER 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 16 __main__.TestMkenums.test_reproducible 1194s # tmpdir: /tmp/tmpqwt5lwi4 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpqwt5lwi4/tmppoiefh4s.template: template 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqwt5lwi4/tmppoiefh4s.template', '/tmp/tmpqwt5lwi4/tmpz1_9fy421.h', '/tmp/tmpqwt5lwi4/tmpqdt2_w0o2.h'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # 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. */ 1194s # 1194s # 1194s # /* Generated data ends here */ 1194s # /tmp/tmpqwt5lwi4/tmp7y7uv6ok.template: template 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqwt5lwi4/tmp7y7uv6ok.template', '/tmp/tmpqwt5lwi4/tmpqdt2_w0o2.h', '/tmp/tmpqwt5lwi4/tmpz1_9fy421.h'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # 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. */ 1194s # 1194s # 1194s # /* Generated data ends here */ 1194s ok 17 __main__.TestMkenums.test_since 1194s # tmpdir: /tmp/tmp_gnufm46 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmp_gnufm46/tmpzpjnu6dg.h: 1194s # typedef enum { /*< since=1.0 >*/ 1194s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1194s # } QmiWmsMessageProtocol; 1194s # 1194s # /tmp/tmp_gnufm46/tmp2w04ynmn.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_gnufm46/tmp2w04ynmn.template', '/tmp/tmp_gnufm46/tmpzpjnu6dg.h'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmp_gnufm46/tmpzpjnu6dg.h 1194s # basename: tmpzpjnu6dg.h 1194s # enumeration-production 1194s # EnumName: QmiWmsMessageProtocol 1194s # enum_name: qmi_wms_message_protocol 1194s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1194s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1194s # ENUMPREFIX: QMI 1194s # enumsince: 1.0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: QmiWmsMessageProtocol 1194s # enum_name: qmi_wms_message_protocol 1194s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1194s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1194s # ENUMPREFIX: QMI 1194s # enumsince: 1.0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1194s # valuenick: cdma 1194s # valuenum: 0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: QmiWmsMessageProtocol 1194s # enum_name: qmi_wms_message_protocol 1194s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1194s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1194s # ENUMPREFIX: QMI 1194s # enumsince: 1.0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 18 __main__.TestMkenums.test_with_double_quotes 1194s # tmpdir: /tmp/tmpmqbt2fe8 1194s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpmqbt2fe8/tmpzvh7g09e.h: 1194s # typedef enum { 1194s # FOO_VALUE /*< nick="eek, a comma" >*/ 1194s # } Foo; 1194s # 1194s # /tmp/tmpmqbt2fe8/tmpzwz2avl4.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmqbt2fe8/tmpzwz2avl4.template', '/tmp/tmpmqbt2fe8/tmpzvh7g09e.h'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpmqbt2fe8/tmpzvh7g09e.h 1194s # basename: tmpzvh7g09e.h 1194s # enumeration-production 1194s # EnumName: Foo 1194s # enum_name: foo_ 1194s # ENUMNAME: FOO_ 1194s # ENUMSHORT: 1194s # ENUMPREFIX: FOO 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: Foo 1194s # enum_name: foo_ 1194s # ENUMNAME: FOO_ 1194s # ENUMSHORT: 1194s # ENUMPREFIX: FOO 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: FOO_VALUE 1194s # valuenick: eek, a comma 1194s # valuenum: 0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: Foo 1194s # enum_name: foo_ 1194s # ENUMNAME: FOO_ 1194s # ENUMSHORT: 1194s # ENUMPREFIX: FOO 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 19 __main__.TestRspMkenums.test_available_in 1194s # tmpdir: /tmp/tmpqlk7my37 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpqlk7my37/tmp5oqwurtu.h: 1194s # typedef enum { 1194s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1194s # } GDBusServerFlags; 1194s # 1194s # /tmp/tmpqlk7my37/tmpnk84wros.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpqlk7my37/tmpnk84wros.template /tmp/tmpqlk7my37/tmp5oqwurtu.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqlk7my37/tmpqgt72qut'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpqlk7my37/tmp5oqwurtu.h 1194s # basename: tmp5oqwurtu.h 1194s # enumeration-production 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-header 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-production 1194s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1194s # valuenick: user 1194s # valuenum: 4 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-tail 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1194s # tmpdir: /tmp/tmpvvsu35mp 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpvvsu35mp/tmp8jvdnj2u.h: 1194s # typedef enum { 1194s # ENUM_VALUE_WITH_COMMA = ',', 1194s # } TestCommaEnum; 1194s # 1194s # /tmp/tmpvvsu35mp/tmptki2zue1.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpvvsu35mp/tmptki2zue1.template /tmp/tmpvvsu35mp/tmp8jvdnj2u.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvvsu35mp/tmpiss4k74j'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpvvsu35mp/tmp8jvdnj2u.h 1194s # basename: tmp8jvdnj2u.h 1194s # enumeration-production 1194s # EnumName: TestCommaEnum 1194s # enum_name: test_comma_enum 1194s # ENUMNAME: TEST_COMMA_ENUM 1194s # ENUMSHORT: COMMA_ENUM 1194s # ENUMPREFIX: TEST 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: TestCommaEnum 1194s # enum_name: test_comma_enum 1194s # ENUMNAME: TEST_COMMA_ENUM 1194s # ENUMSHORT: COMMA_ENUM 1194s # ENUMPREFIX: TEST 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: ENUM_VALUE_WITH_COMMA 1194s # valuenick: comma 1194s # valuenum: 44 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: TestCommaEnum 1194s # enum_name: test_comma_enum 1194s # ENUMNAME: TEST_COMMA_ENUM 1194s # ENUMSHORT: COMMA_ENUM 1194s # ENUMPREFIX: TEST 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 21 __main__.TestRspMkenums.test_deprecated_in 1194s # tmpdir: /tmp/tmp4dey0cxk 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmp4dey0cxk/tmpbpjlz4t_.h: 1194s # typedef enum { 1194s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1194s # } GDBusServerFlags; 1194s # 1194s # /tmp/tmp4dey0cxk/tmpllajweve.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmp4dey0cxk/tmpllajweve.template /tmp/tmp4dey0cxk/tmpbpjlz4t_.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4dey0cxk/tmparyisur1'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmp4dey0cxk/tmpbpjlz4t_.h 1194s # basename: tmpbpjlz4t_.h 1194s # enumeration-production 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-header 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-production 1194s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1194s # valuenick: user 1194s # valuenum: 4 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-tail 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1194s # tmpdir: /tmp/tmpbiodmdef 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpbiodmdef/tmp_j562hbo.h: 1194s # typedef enum { 1194s # 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) 1194s # } GDBusServerFlags; 1194s # 1194s # /tmp/tmpbiodmdef/tmpnaeyglg5.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpbiodmdef/tmpnaeyglg5.template /tmp/tmpbiodmdef/tmp_j562hbo.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbiodmdef/tmpy9f1ladc'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpbiodmdef/tmp_j562hbo.h 1194s # basename: tmp_j562hbo.h 1194s # enumeration-production 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-header 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-production 1194s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1194s # valuenick: user 1194s # valuenum: 4 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # value-tail 1194s # EnumName: GDBusServerFlags 1194s # enum_name: g_dbus_server_flags 1194s # ENUMNAME: G_DBUS_SERVER_FLAGS 1194s # ENUMSHORT: DBUS_SERVER_FLAGS 1194s # ENUMPREFIX: G 1194s # enumsince: 1194s # type: flags 1194s # Type: Flags 1194s # TYPE: FLAGS 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 23 __main__.TestRspMkenums.test_empty_header 1194s # tmpdir: /tmp/tmpr2giz4sq 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpr2giz4sq/tmpi0p7o0by.h: 1194s # /tmp/tmpr2giz4sq/tmpip_xsowm.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpr2giz4sq/tmpip_xsowm.template /tmp/tmpr2giz4sq/tmpi0p7o0by.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr2giz4sq/tmpr6x0xxjg'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 24 __main__.TestRspMkenums.test_empty_template 1194s # tmpdir: /tmp/tmpv26czatj 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpv26czatj/tmpn90_d3c6.template: 1194s # Response file contains: --template /tmp/tmpv26czatj/tmpn90_d3c6.template 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv26czatj/tmp5qme5069'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # 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. */ 1194s # 1194s # 1194s # /* Generated data ends here */ 1194s ok 25 __main__.TestRspMkenums.test_enum_name 1194s # tmpdir: /tmp/tmpov4xwosw 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpov4xwosw/tmp1o2a58r8.h: 1194s # typedef enum _SomeEnumIdentifier { 1194s # ENUM_VALUE 1194s # } SomeEnumIdentifier; 1194s # 1194s # /tmp/tmpov4xwosw/tmpuvkeamz5.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpov4xwosw/tmpuvkeamz5.template /tmp/tmpov4xwosw/tmp1o2a58r8.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpov4xwosw/tmprb5i2__l'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpov4xwosw/tmp1o2a58r8.h 1194s # basename: tmp1o2a58r8.h 1194s # enumeration-production 1194s # EnumName: SomeEnumIdentifier 1194s # enum_name: some_enum_identifier 1194s # ENUMNAME: SOME_ENUM_IDENTIFIER 1194s # ENUMSHORT: ENUM_IDENTIFIER 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: SomeEnumIdentifier 1194s # enum_name: some_enum_identifier 1194s # ENUMNAME: SOME_ENUM_IDENTIFIER 1194s # ENUMSHORT: ENUM_IDENTIFIER 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: ENUM_VALUE 1194s # valuenick: value 1194s # valuenum: 0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: SomeEnumIdentifier 1194s # enum_name: some_enum_identifier 1194s # ENUMNAME: SOME_ENUM_IDENTIFIER 1194s # ENUMSHORT: ENUM_IDENTIFIER 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 26 __main__.TestRspMkenums.test_enum_private_public 1194s # tmpdir: /tmp/tmpukzq7rwo 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpukzq7rwo/tmpzx9k5i97.h: 1194s # typedef enum { 1194s # ENUM_VALUE_PUBLIC1, 1194s # /*< private >*/ 1194s # ENUM_VALUE_PRIVATE, 1194s # } SomeEnumA 1194s # 1194s # /tmp/tmpukzq7rwo/tmp1ka_2bwr.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpukzq7rwo/tmp1ka_2bwr.template /tmp/tmpukzq7rwo/tmpzx9k5i97.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpukzq7rwo/tmp1qxo2spd'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpukzq7rwo/tmpzx9k5i97.h 1194s # basename: tmpzx9k5i97.h 1194s # enumeration-production 1194s # EnumName: SomeEnumA 1194s # enum_name: some_enum_a 1194s # ENUMNAME: SOME_ENUM_A 1194s # ENUMSHORT: ENUM_A 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: SomeEnumA 1194s # enum_name: some_enum_a 1194s # ENUMNAME: SOME_ENUM_A 1194s # ENUMSHORT: ENUM_A 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: ENUM_VALUE_PUBLIC1 1194s # valuenick: public1 1194s # valuenum: 0 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: SomeEnumA 1194s # enum_name: some_enum_a 1194s # ENUMNAME: SOME_ENUM_A 1194s # ENUMSHORT: ENUM_A 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s # /tmp/tmpukzq7rwo/tmpaiksuii9.h: 1194s # typedef enum { 1194s # /*< private >*/ 1194s # ENUM_VALUE_PRIVATE, 1194s # /*< public >*/ 1194s # ENUM_VALUE_PUBLIC2, 1194s # } SomeEnumB; 1194s # 1194s # /tmp/tmpukzq7rwo/tmpiz7lx248.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpukzq7rwo/tmpiz7lx248.template /tmp/tmpukzq7rwo/tmpaiksuii9.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpukzq7rwo/tmpta2iojea'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpukzq7rwo/tmpaiksuii9.h 1194s # basename: tmpaiksuii9.h 1194s # enumeration-production 1194s # EnumName: SomeEnumB 1194s # enum_name: some_enum_b 1194s # ENUMNAME: SOME_ENUM_B 1194s # ENUMSHORT: ENUM_B 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: SomeEnumB 1194s # enum_name: some_enum_b 1194s # ENUMNAME: SOME_ENUM_B 1194s # ENUMSHORT: ENUM_B 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: ENUM_VALUE_PUBLIC2 1194s # valuenick: public2 1194s # valuenum: 1 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: SomeEnumB 1194s # enum_name: some_enum_b 1194s # ENUMNAME: SOME_ENUM_B 1194s # ENUMSHORT: ENUM_B 1194s # ENUMPREFIX: SOME 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1194s # tmpdir: /tmp/tmpvexs4ahe 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpvexs4ahe/tmp0qlgfw4i.h: 1194s # typedef enum { 1194s # /*< private >*/ 1194s # ENUM_VALUE_PRIVATE = 5, 1194s # /*< public >*/ 1194s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1194s # } TestSymbolicEnum; 1194s # 1194s # /tmp/tmpvexs4ahe/tmpvuvay3t3.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN file-production ***/ 1194s # file-production 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-production ***/ 1194s # 1194s # /*** BEGIN enumeration-production ***/ 1194s # enumeration-production 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END enumeration-production ***/ 1194s # 1194s # /*** BEGIN value-header ***/ 1194s # value-header 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-header ***/ 1194s # 1194s # /*** BEGIN value-production ***/ 1194s # value-production 1194s # VALUENAME: @VALUENAME@ 1194s # valuenick: @valuenick@ 1194s # valuenum: @valuenum@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-production ***/ 1194s # 1194s # /*** BEGIN value-tail ***/ 1194s # value-tail 1194s # EnumName: @EnumName@ 1194s # enum_name: @enum_name@ 1194s # ENUMNAME: @ENUMNAME@ 1194s # ENUMSHORT: @ENUMSHORT@ 1194s # ENUMPREFIX: @ENUMPREFIX@ 1194s # enumsince: @enumsince@ 1194s # type: @type@ 1194s # Type: @Type@ 1194s # TYPE: @TYPE@ 1194s # /*** END value-tail ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # /*** END file-tail ***/ 1194s # 1194s # Response file contains: --template /tmp/tmpvexs4ahe/tmpvuvay3t3.template /tmp/tmpvexs4ahe/tmp0qlgfw4i.h 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvexs4ahe/tmptm8svi9w'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # file-production 1194s # filename: /tmp/tmpvexs4ahe/tmp0qlgfw4i.h 1194s # basename: tmp0qlgfw4i.h 1194s # enumeration-production 1194s # EnumName: TestSymbolicEnum 1194s # enum_name: test_symbolic_enum 1194s # ENUMNAME: TEST_SYMBOLIC_ENUM 1194s # ENUMSHORT: SYMBOLIC_ENUM 1194s # ENUMPREFIX: TEST 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-header 1194s # EnumName: TestSymbolicEnum 1194s # enum_name: test_symbolic_enum 1194s # ENUMNAME: TEST_SYMBOLIC_ENUM 1194s # ENUMSHORT: SYMBOLIC_ENUM 1194s # ENUMPREFIX: TEST 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-production 1194s # VALUENAME: ENUM_VALUE_PUBLIC 1194s # valuenick: public 1194s # valuenum: 7 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # value-tail 1194s # EnumName: TestSymbolicEnum 1194s # enum_name: test_symbolic_enum 1194s # ENUMNAME: TEST_SYMBOLIC_ENUM 1194s # ENUMSHORT: SYMBOLIC_ENUM 1194s # ENUMPREFIX: TEST 1194s # enumsince: 1194s # type: enum 1194s # Type: Enum 1194s # TYPE: ENUM 1194s # file-tail 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1194s # tmpdir: /tmp/tmpl6ksz6mm 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # /tmp/tmpl6ksz6mm/tmpj8xb3tqk.template: 1194s # /*** BEGIN file-header ***/ 1194s # file-header 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-header ***/ 1194s # 1194s # /*** BEGIN comment ***/ 1194s # comment 1194s # comment: @comment@ 1194s # /*** END comment ***/ 1194s # 1194s # /*** BEGIN file-tail ***/ 1194s # file-tail 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # /*** END file-tail ***/ 1194s # Response file contains: --template /tmp/tmpl6ksz6mm/tmpj8xb3tqk.template 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl6ksz6mm/tmpecjtbkjc'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: comment 1194s # 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. 1194s # 1194s # 1194s # file-header 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # file-tail 1194s # filename: @filename@ 1194s # basename: @basename@ 1194s # 1194s # comment 1194s # comment: Generated data ends here 1194s ok 29 __main__.TestRspMkenums.test_help 1194s # tmpdir: /tmp/tmpdhamafyt 1194s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1194s # Response file contains: --help 1194s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdhamafyt/tmp5at7fjm8'] 1194s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1194s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1194s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1194s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1194s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1194s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1194s # [--output OUTPUT] [--version] 1194s # [args ...] 1194s # 1194s # positional arguments: 1194s # args One or more input files, or a single argument 1194s # @rspfile_path pointing to a file that contains the 1194s # actual arguments 1194s # 1194s # options: 1194s # -h, --help show this help message and exit 1194s # --identifier-prefix IDPREFIX 1194s # Identifier prefix 1194s # --symbol-prefix SYMPREFIX 1194s # Symbol prefix 1194s # --fhead FHEAD Output file header 1194s # --ftail FTAIL Output file footer 1194s # --fprod FPROD Put out TEXT every time a new input file is being 1194s # processed. 1194s # --eprod EPROD Per enum text, produced prior to value iterations 1194s # --vhead VHEAD Value header, produced before iterating over enum 1194s # values 1194s # --vprod VPROD Value text, produced for each enum value. 1194s # --vtail VTAIL Value tail, produced after iterating over enum values 1194s # --comments COMMENT_TMPL 1194s # Comment structure 1194s # --template TEMPLATE Template file 1194s # --output OUTPUT 1194s # --version, -v Print version information 1194s # 1194s # Production text substitutions: 1194s # @EnumName@ PrefixTheXEnum 1194s # @enum_name@ prefix_the_xenum 1194s # @ENUMNAME@ PREFIX_THE_XENUM 1194s # @ENUMSHORT@ THE_XENUM 1194s # @ENUMPREFIX@ PREFIX 1194s # @enumsince@ the user-provided since value given 1194s # @VALUENAME@ PREFIX_THE_XVALUE 1194s # @valuenick@ the-xvalue 1194s # @valuenum@ the integer value (limited support, Since: 2.26) 1194s # @type@ either enum or flags 1194s # @Type@ either Enum or Flags 1194s # @TYPE@ either ENUM or FLAGS 1194s # @filename@ name of current input file 1194s # @basename@ base name of the current input file (Since: 2.22) 1195s ok 30 __main__.TestRspMkenums.test_no_args 1195s # tmpdir: /tmp/tmptludxzq0 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # Response file contains: 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptludxzq0/tmpcxmf_lwa'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # 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. */ 1195s # 1195s # 1195s # /* Generated data ends here */ 1195s ok 31 __main__.TestRspMkenums.test_no_headers 1195s # tmpdir: /tmp/tmp990m_b54 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # /tmp/tmp990m_b54/tmpw_kse5ym.template: 1195s # /*** BEGIN file-header ***/ 1195s # file-header 1195s # /*** END file-header ***/ 1195s # 1195s # /*** BEGIN file-production ***/ 1195s # file-production 1195s # filename: @filename@ 1195s # basename: @basename@ 1195s # /*** END file-production ***/ 1195s # 1195s # /*** BEGIN enumeration-production ***/ 1195s # enumeration-production 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END enumeration-production ***/ 1195s # 1195s # /*** BEGIN value-header ***/ 1195s # value-header 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-header ***/ 1195s # 1195s # /*** BEGIN value-production ***/ 1195s # value-production 1195s # VALUENAME: @VALUENAME@ 1195s # valuenick: @valuenick@ 1195s # valuenum: @valuenum@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-production ***/ 1195s # 1195s # /*** BEGIN value-tail ***/ 1195s # value-tail 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-tail ***/ 1195s # 1195s # /*** BEGIN comment ***/ 1195s # comment 1195s # comment: @comment@ 1195s # /*** END comment ***/ 1195s # 1195s # /*** BEGIN file-tail ***/ 1195s # file-tail 1195s # /*** END file-tail ***/ 1195s # 1195s # Response file contains: --template /tmp/tmp990m_b54/tmpw_kse5ym.template 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp990m_b54/tmps_98_0ba'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: comment 1195s # 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. 1195s # 1195s # 1195s # file-header 1195s # file-tail 1195s # 1195s # comment 1195s # comment: Generated data ends here 1195s ok 32 __main__.TestRspMkenums.test_no_nick 1195s # tmpdir: /tmp/tmp4591srn8 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # /tmp/tmp4591srn8/tmpwhzo9fp0.h: 1195s # typedef enum { 1195s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1195s # } GeglSamplerType; 1195s # 1195s # /tmp/tmp4591srn8/tmp_dgn4lar.template: 1195s # /*** BEGIN file-header ***/ 1195s # file-header 1195s # /*** END file-header ***/ 1195s # 1195s # /*** BEGIN file-production ***/ 1195s # file-production 1195s # filename: @filename@ 1195s # basename: @basename@ 1195s # /*** END file-production ***/ 1195s # 1195s # /*** BEGIN enumeration-production ***/ 1195s # enumeration-production 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END enumeration-production ***/ 1195s # 1195s # /*** BEGIN value-header ***/ 1195s # value-header 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-header ***/ 1195s # 1195s # /*** BEGIN value-production ***/ 1195s # value-production 1195s # VALUENAME: @VALUENAME@ 1195s # valuenick: @valuenick@ 1195s # valuenum: @valuenum@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-production ***/ 1195s # 1195s # /*** BEGIN value-tail ***/ 1195s # value-tail 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-tail ***/ 1195s # 1195s # /*** BEGIN comment ***/ 1195s # comment 1195s # comment: @comment@ 1195s # /*** END comment ***/ 1195s # 1195s # /*** BEGIN file-tail ***/ 1195s # file-tail 1195s # /*** END file-tail ***/ 1195s # 1195s # Response file contains: --template /tmp/tmp4591srn8/tmp_dgn4lar.template /tmp/tmp4591srn8/tmpwhzo9fp0.h 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4591srn8/tmpkwznrxqz'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: comment 1195s # 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. 1195s # 1195s # 1195s # file-header 1195s # file-production 1195s # filename: /tmp/tmp4591srn8/tmpwhzo9fp0.h 1195s # basename: tmpwhzo9fp0.h 1195s # enumeration-production 1195s # EnumName: GeglSamplerType 1195s # enum_name: gegl_sampler_type 1195s # ENUMNAME: GEGL_SAMPLER_TYPE 1195s # ENUMSHORT: SAMPLER_TYPE 1195s # ENUMPREFIX: GEGL 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-header 1195s # EnumName: GeglSamplerType 1195s # enum_name: gegl_sampler_type 1195s # ENUMNAME: GEGL_SAMPLER_TYPE 1195s # ENUMSHORT: SAMPLER_TYPE 1195s # ENUMPREFIX: GEGL 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-production 1195s # VALUENAME: GEGL_SAMPLER_NEAREST 1195s # valuenick: nearest 1195s # valuenum: 0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-tail 1195s # EnumName: GeglSamplerType 1195s # enum_name: gegl_sampler_type 1195s # ENUMNAME: GEGL_SAMPLER_TYPE 1195s # ENUMSHORT: SAMPLER_TYPE 1195s # ENUMPREFIX: GEGL 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # file-tail 1195s # 1195s # comment 1195s # comment: Generated data ends here 1195s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1195s # tmpdir: /tmp/tmpg1u4k950 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # /tmp/tmpg1u4k950/tmp8f7265zk.h: 1195s # /* Copyright © La Peña */ 1195s # typedef enum { 1195s # ENUM_VALUE 1195s # } SomeEnumIdentifier; 1195s # 1195s # /tmp/tmpg1u4k950/tmpwif_9y8m.template: 1195s # /*** BEGIN file-header ***/ 1195s # file-header 1195s # /*** END file-header ***/ 1195s # 1195s # /*** BEGIN file-production ***/ 1195s # file-production 1195s # filename: @filename@ 1195s # basename: @basename@ 1195s # /*** END file-production ***/ 1195s # 1195s # /*** BEGIN enumeration-production ***/ 1195s # enumeration-production 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END enumeration-production ***/ 1195s # 1195s # /*** BEGIN value-header ***/ 1195s # value-header 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-header ***/ 1195s # 1195s # /*** BEGIN value-production ***/ 1195s # value-production 1195s # VALUENAME: @VALUENAME@ 1195s # valuenick: @valuenick@ 1195s # valuenum: @valuenum@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-production ***/ 1195s # 1195s # /*** BEGIN value-tail ***/ 1195s # value-tail 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-tail ***/ 1195s # 1195s # /*** BEGIN comment ***/ 1195s # comment 1195s # comment: @comment@ 1195s # /*** END comment ***/ 1195s # 1195s # /*** BEGIN file-tail ***/ 1195s # file-tail 1195s # /*** END file-tail ***/ 1195s # 1195s # Response file contains: --template /tmp/tmpg1u4k950/tmpwif_9y8m.template /tmp/tmpg1u4k950/tmp8f7265zk.h 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg1u4k950/tmpyia1dns8'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: comment 1195s # 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. 1195s # 1195s # 1195s # file-header 1195s # file-production 1195s # filename: /tmp/tmpg1u4k950/tmp8f7265zk.h 1195s # basename: tmp8f7265zk.h 1195s # enumeration-production 1195s # EnumName: SomeEnumIdentifier 1195s # enum_name: some_enum_identifier 1195s # ENUMNAME: SOME_ENUM_IDENTIFIER 1195s # ENUMSHORT: ENUM_IDENTIFIER 1195s # ENUMPREFIX: SOME 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-header 1195s # EnumName: SomeEnumIdentifier 1195s # enum_name: some_enum_identifier 1195s # ENUMNAME: SOME_ENUM_IDENTIFIER 1195s # ENUMSHORT: ENUM_IDENTIFIER 1195s # ENUMPREFIX: SOME 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-production 1195s # VALUENAME: ENUM_VALUE 1195s # valuenick: value 1195s # valuenum: 0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-tail 1195s # EnumName: SomeEnumIdentifier 1195s # enum_name: some_enum_identifier 1195s # ENUMNAME: SOME_ENUM_IDENTIFIER 1195s # ENUMSHORT: ENUM_IDENTIFIER 1195s # ENUMPREFIX: SOME 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # file-tail 1195s # 1195s # comment 1195s # comment: Generated data ends here 1195s ok 34 __main__.TestRspMkenums.test_reproducible 1195s # tmpdir: /tmp/tmp0w8nrjfl 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # /tmp/tmp0w8nrjfl/tmpcsx0l_5c.template: template 1195s # Response file contains: --template /tmp/tmp0w8nrjfl/tmpcsx0l_5c.template /tmp/tmp0w8nrjfl/tmpmr1nwhsl1.h /tmp/tmp0w8nrjfl/tmpfo5qvmt02.h 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0w8nrjfl/tmpdtvivq3p'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # 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. */ 1195s # 1195s # 1195s # /* Generated data ends here */ 1195s # /tmp/tmp0w8nrjfl/tmpxym30au6.template: template 1195s # Response file contains: --template /tmp/tmp0w8nrjfl/tmpxym30au6.template /tmp/tmp0w8nrjfl/tmpfo5qvmt02.h /tmp/tmp0w8nrjfl/tmpmr1nwhsl1.h 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0w8nrjfl/tmp8ksivnxq'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # 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. */ 1195s # 1195s # 1195s # /* Generated data ends here */ 1195s ok 35 __main__.TestRspMkenums.test_since 1195s # tmpdir: /tmp/tmpw09pc2rj 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # /tmp/tmpw09pc2rj/tmpo58ypobj.h: 1195s # typedef enum { /*< since=1.0 >*/ 1195s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1195s # } QmiWmsMessageProtocol; 1195s # 1195s # /tmp/tmpw09pc2rj/tmp28hifxde.template: 1195s # /*** BEGIN file-header ***/ 1195s # file-header 1195s # /*** END file-header ***/ 1195s # 1195s # /*** BEGIN file-production ***/ 1195s # file-production 1195s # filename: @filename@ 1195s # basename: @basename@ 1195s # /*** END file-production ***/ 1195s # 1195s # /*** BEGIN enumeration-production ***/ 1195s # enumeration-production 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END enumeration-production ***/ 1195s # 1195s # /*** BEGIN value-header ***/ 1195s # value-header 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-header ***/ 1195s # 1195s # /*** BEGIN value-production ***/ 1195s # value-production 1195s # VALUENAME: @VALUENAME@ 1195s # valuenick: @valuenick@ 1195s # valuenum: @valuenum@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-production ***/ 1195s # 1195s # /*** BEGIN value-tail ***/ 1195s # value-tail 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-tail ***/ 1195s # 1195s # /*** BEGIN comment ***/ 1195s # comment 1195s # comment: @comment@ 1195s # /*** END comment ***/ 1195s # 1195s # /*** BEGIN file-tail ***/ 1195s # file-tail 1195s # /*** END file-tail ***/ 1195s # 1195s # Response file contains: --template /tmp/tmpw09pc2rj/tmp28hifxde.template /tmp/tmpw09pc2rj/tmpo58ypobj.h 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw09pc2rj/tmpapabcbkl'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: comment 1195s # 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. 1195s # 1195s # 1195s # file-header 1195s # file-production 1195s # filename: /tmp/tmpw09pc2rj/tmpo58ypobj.h 1195s # basename: tmpo58ypobj.h 1195s # enumeration-production 1195s # EnumName: QmiWmsMessageProtocol 1195s # enum_name: qmi_wms_message_protocol 1195s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1195s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1195s # ENUMPREFIX: QMI 1195s # enumsince: 1.0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-header 1195s # EnumName: QmiWmsMessageProtocol 1195s # enum_name: qmi_wms_message_protocol 1195s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1195s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1195s # ENUMPREFIX: QMI 1195s # enumsince: 1.0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-production 1195s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1195s # valuenick: cdma 1195s # valuenum: 0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-tail 1195s # EnumName: QmiWmsMessageProtocol 1195s # enum_name: qmi_wms_message_protocol 1195s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1195s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1195s # ENUMPREFIX: QMI 1195s # enumsince: 1.0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # file-tail 1195s # 1195s # comment 1195s # comment: Generated data ends here 1195s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1195s # tmpdir: /tmp/tmpzbcyd6h1 1195s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1195s # /tmp/tmpzbcyd6h1/tmpooqlxuij.h: 1195s # typedef enum { 1195s # FOO_VALUE /*< nick="eek, a comma" >*/ 1195s # } Foo; 1195s # 1195s # /tmp/tmpzbcyd6h1/tmpz9l9u0qt.template: 1195s # /*** BEGIN file-header ***/ 1195s # file-header 1195s # /*** END file-header ***/ 1195s # 1195s # /*** BEGIN file-production ***/ 1195s # file-production 1195s # filename: @filename@ 1195s # basename: @basename@ 1195s # /*** END file-production ***/ 1195s # 1195s # /*** BEGIN enumeration-production ***/ 1195s # enumeration-production 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END enumeration-production ***/ 1195s # 1195s # /*** BEGIN value-header ***/ 1195s # value-header 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-header ***/ 1195s # 1195s # /*** BEGIN value-production ***/ 1195s # value-production 1195s # VALUENAME: @VALUENAME@ 1195s # valuenick: @valuenick@ 1195s # valuenum: @valuenum@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-production ***/ 1195s # 1195s # /*** BEGIN value-tail ***/ 1195s # value-tail 1195s # EnumName: @EnumName@ 1195s # enum_name: @enum_name@ 1195s # ENUMNAME: @ENUMNAME@ 1195s # ENUMSHORT: @ENUMSHORT@ 1195s # ENUMPREFIX: @ENUMPREFIX@ 1195s # enumsince: @enumsince@ 1195s # type: @type@ 1195s # Type: @Type@ 1195s # TYPE: @TYPE@ 1195s # /*** END value-tail ***/ 1195s # 1195s # /*** BEGIN comment ***/ 1195s # comment 1195s # comment: @comment@ 1195s # /*** END comment ***/ 1195s # 1195s # /*** BEGIN file-tail ***/ 1195s # file-tail 1195s # /*** END file-tail ***/ 1195s # 1195s # Response file contains: --template /tmp/tmpzbcyd6h1/tmpz9l9u0qt.template /tmp/tmpzbcyd6h1/tmpooqlxuij.h 1195s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzbcyd6h1/tmpil64g4jv'] 1195s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1195s # Output: comment 1195s # 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. 1195s # 1195s # 1195s # file-header 1195s # file-production 1195s # filename: /tmp/tmpzbcyd6h1/tmpooqlxuij.h 1195s # basename: tmpooqlxuij.h 1195s # enumeration-production 1195s # EnumName: Foo 1195s # enum_name: foo_ 1195s # ENUMNAME: FOO_ 1195s # ENUMSHORT: 1195s # ENUMPREFIX: FOO 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-header 1195s # EnumName: Foo 1195s # enum_name: foo_ 1195s # ENUMNAME: FOO_ 1195s # ENUMSHORT: 1195s # ENUMPREFIX: FOO 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-production 1195s # VALUENAME: FOO_VALUE 1195s # valuenick: eek, a comma 1195s # valuenum: 0 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # value-tail 1195s # EnumName: Foo 1195s # enum_name: foo_ 1195s # ENUMNAME: FOO_ 1195s # ENUMSHORT: 1195s # ENUMPREFIX: FOO 1195s # enumsince: 1195s # type: enum 1195s # Type: Enum 1195s # TYPE: ENUM 1195s # file-tail 1195s # 1195s # comment 1195s # comment: Generated data ends here 1195s 1..36 1195s ok - glib/mkenums.py.test 1195s # Running test: glib/gdbus-server-auth.test 1195s TAP version 14 1195s # random seed: R02S5d8484ea1fb193aeb37295c055984cc9 1195s 1..9 1195s # Start of gdbus tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-L84N02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-L84N02/dbus-mGhKVbPo 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2733 1195s ok 1 /gdbus/server-auth 1195s # Start of server-auth tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/abstract/.dirs/runtime 1195s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-5Z5O02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-5Z5O02/dbus-fQyhvAMF 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1195s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1195s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2733 1195s ok 2 /gdbus/server-auth/abstract 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/tcp/.dirs/runtime 1195s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1195s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-6T3O02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-6T3O02/dbus-DfaX0Lti 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2733 1195s ok 4 /gdbus/server-auth/anonymous 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-LXZM02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-LXZM02/dbus-7CC0LgIt 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2733 1195s ok 5 /gdbus/server-auth/external 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-98JM02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1195s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1195s # Start of anonymous tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1195s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1195s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1195s # End of anonymous tests 1195s # Start of external tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1195s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-XAJM02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1195s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4F5N02/gdbus-server-auth-XAJM02/dbus-VHN7pHnn 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2733 1195s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1195s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1195s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1195s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2733,uid=1000,gid=1000 1195s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2733 1195s ok 8 /gdbus/server-auth/external/require-same-user 1195s # End of external tests 1195s # Start of sha1 tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4F5N02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1195s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1195s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1195s # End of sha1 tests 1195s # End of server-auth tests 1195s # End of gdbus tests 1195s ok - glib/gdbus-server-auth.test 1195s # Running test: glib/struct-info.test 1195s TAP version 14 1195s # random seed: R02S68c08c1cfff371e6b91c1b885ce5b0c9 1195s 1..4 1195s # Start of struct-info tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ISON02/struct-info/field-iterators/.dirs/runtime 1195s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1195s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1195s ok 1 /struct-info/field-iterators 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ISON02/struct-info/sizeof-gvalue/.dirs/runtime 1195s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1195s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1195s ok 2 /struct-info/sizeof-gvalue 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ISON02/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1195s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1195s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1195s ok 3 /struct-info/is-pointer-for-struct-method-arg 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_ISON02/struct-info/boxed/.dirs/runtime 1195s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1195s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1195s ok 4 /struct-info/boxed 1195s # End of struct-info tests 1195s ok - glib/struct-info.test 1195s # Running test: glib/gsocketclient-slow.test 1195s TAP version 14 1195s # random seed: R02Sc064f47624a6e37fc61b933052d5ae11 1195s 1..4 1195s # Start of socket-client tests 1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1195s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1195s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbd106505f2a0 and GSocketClientAsyncConnectData 0xbd1065057ba0 1195s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1195s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1195s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbd1065061180 for GSocketClientAsyncConnectData 0xbd1065057ba0 1195s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1196s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1196s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1196s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1196s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1196s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1196s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbd10650622e0 for GSocketClientAsyncConnectData 0xbd1065057ba0 1196s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1196s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1196s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1196s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1196s ok 1 /socket-client/connection-fail 1196s # slow test /socket-client/connection-fail executed in 1.20 secs 1196s # Start of happy-eyeballs tests 1196s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbd1065064d60 and GSocketClientAsyncConnectData 0xbd1065062ee0 1196s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1196s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1196s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbd1065065600 for GSocketClientAsyncConnectData 0xbd1065062ee0 1196s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1197s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1197s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1197s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1197s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1197s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1197s ok 2 /socket-client/happy-eyeballs/slow 1197s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1197s # Start of cancellation tests 1197s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbd1065066250 and GSocketClientAsyncConnectData 0xbd1065065290 1197s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1197s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1197s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1197s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbd1065064ca0 and GSocketClientAsyncConnectData 0xbd1065066500 1197s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1197s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1197s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbd1065066d90 for GSocketClientAsyncConnectData 0xbd1065066500 1197s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1197s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1197s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1197s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1197s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1197s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1197s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1197s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1197s # End of cancellation tests 1197s # End of happy-eyeballs tests 1197s # End of socket-client tests 1197s ok - glib/gsocketclient-slow.test 1197s # Running test: glib/protocol.test 1197s TAP version 14 1197s # random seed: R02S7a221bcc39f28a43dfd2c43360b73a6b 1197s 1..9 1197s # Start of glib tests 1197s # Start of testing tests 1197s # Start of protocol tests 1197s ok 1 /glib/testing/protocol/debug 1197s ok 2 /glib/testing/protocol/info 1197s ok 3 /glib/testing/protocol/message 1197s ok 4 /glib/testing/protocol/warning 1197s ok 5 /glib/testing/protocol/critical 1197s ok 6 /glib/testing/protocol/error 1197s ok 7 /glib/testing/protocol/gtest-message 1197s ok 8 /glib/testing/protocol/test-message 1197s ok 9 /glib/testing/protocol/test-error 1197s # End of protocol tests 1197s # End of testing tests 1197s # End of glib tests 1197s ok - glib/protocol.test 1197s # Running test: glib/cxx-03.test 1197s TAP version 14 1197s # random seed: R02S419a3dd6bc73c4c7b044fb478bde9309 1197s 1..2 1197s # Start of gtask tests 1197s # 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. 1197s ok 1 /gtask/name 1197s # Start of name tests 1197s # 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. 1197s ok 2 /gtask/name/macro-wrapper 1197s # End of name tests 1197s # End of gtask tests 1197s ok - glib/cxx-03.test 1197s # Running test: glib/utf8-pointer.test 1197s TAP version 14 1197s # random seed: R02S286c7d5acf9a8bb753034657221b4736 1197s 1..3 1197s # Start of utf8 tests 1198s # Executing: glib/utf8-pointer.test 1198s ok 1 /utf8/offsets 1198s # slow test /utf8/offsets executed in 0.89 secs 1198s ok 2 /utf8/lengths 1198s ok 3 /utf8/find 1198s # End of utf8 tests 1198s ok - glib/utf8-pointer.test 1198s # Running test: glib/642026.test 1198s TAP version 14 1198s # random seed: R02S4312f1b7be1eb783732c8bc5562b7481 1198s 1..1 1198s # Start of glib tests 1198s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1198s ok 1 /glib/642026 1198s # End of glib tests 1198s ok - glib/642026.test 1198s # Running test: glib/pollable.test 1198s TAP version 14 1198s # random seed: R02Secd396ed54cc9f8ea284bf4a2e2ea593 1198s 1..6 1198s # Start of pollable tests 1198s ok 1 /pollable/converter 1198s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1198s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8ed4772c7b0 and GSocketClientAsyncConnectData 0xb8ed4771fae0 1198s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1198s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1198s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8ed4772d870 for GSocketClientAsyncConnectData 0xb8ed4771fae0 1198s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1198s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1198s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1198s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1198s ok 2 /pollable/socket 1198s # Start of unix tests 1198s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1198s ok 3 /pollable/unix/pipe 1198s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1198s ok 4 /pollable/unix/pty 1198s # /pollable/unix/file summary: Test that regular files are not considered pollable 1198s ok 5 /pollable/unix/file 1198s # /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 1198s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1198s # End of unix tests 1198s # End of pollable tests 1198s ok - glib/pollable.test 1198s # Running test: glib/slist.test 1198s TAP version 14 1198s # random seed: R02Sbe9f4e10971b62b8723fcc6b7b135c4b 1198s 1..14 1198s # Start of slist tests 1198s ok 1 /slist/sort 1198s ok 2 /slist/sort-with-data 1198s ok 3 /slist/insert-sorted 1198s ok 4 /slist/insert-sorted-with-data 1198s ok 5 /slist/reverse 1198s ok 6 /slist/nth 1198s ok 7 /slist/remove 1198s ok 8 /slist/remove-all 1198s ok 9 /slist/insert 1198s ok 10 /slist/position 1198s ok 11 /slist/concat 1198s ok 12 /slist/copy 1198s # Start of sort tests 1198s ok 13 /slist/sort/stable 1198s # End of sort tests 1198s # Start of copy tests 1198s ok 14 /slist/copy/deep 1198s # End of copy tests 1198s # End of slist tests 1198s ok - glib/slist.test 1198s # Running test: glib/unicode-encoding.test 1198s TAP version 14 1198s # random seed: R02S5486910ecc94eff0d7c9942091d98723 1198s 1..1 1198s # Start of unicode tests 1198s ok 1 /unicode/encoding 1198s # End of unicode tests 1198s ok - glib/unicode-encoding.test 1198s # Running test: glib/data-input-stream.test 1198s TAP version 14 1198s # random seed: R02S912ce1eb7e36be0be7584bf4461ee61c 1198s 1..10 1198s # Start of data-input-stream tests 1198s ok 1 /data-input-stream/basic 1198s ok 2 /data-input-stream/read-lines-LF 1198s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1198s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1198s ok 5 /data-input-stream/read-lines-CR 1198s ok 6 /data-input-stream/read-lines-CR-LF 1199s ok 7 /data-input-stream/read-lines-any 1199s ok 8 /data-input-stream/read-until 1199s ok 9 /data-input-stream/read-upto 1199s ok 10 /data-input-stream/read-int 1199s # End of data-input-stream tests 1199s ok - glib/data-input-stream.test 1199s # Running test: glib/network-address.test 1199s TAP version 14 1199s # random seed: R02S6c0489007b71734ef495c70a2c1bffdd 1199s 1..72 1199s # Start of network-address tests 1199s ok 1 /network-address/basic 1199s ok 2 /network-address/scope-id 1199s ok 3 /network-address/uri-scope-id 1199s ok 4 /network-address/to-string 1199s # Start of parse-host tests 1199s ok 5 /network-address/parse-host/0 1199s ok 6 /network-address/parse-host/1 1199s ok 7 /network-address/parse-host/2 1199s ok 8 /network-address/parse-host/3 1199s ok 9 /network-address/parse-host/4 1199s ok 10 /network-address/parse-host/5 1199s ok 11 /network-address/parse-host/6 1199s ok 12 /network-address/parse-host/7 1199s ok 13 /network-address/parse-host/8 1199s ok 14 /network-address/parse-host/9 1199s ok 15 /network-address/parse-host/10 1199s ok 16 /network-address/parse-host/11 1199s ok 17 /network-address/parse-host/12 1199s ok 18 /network-address/parse-host/13 1199s # End of parse-host tests 1199s # Start of parse-uri tests 1199s ok 19 /network-address/parse-uri/0 1199s ok 20 /network-address/parse-uri/1 1199s ok 21 /network-address/parse-uri/2 1199s ok 22 /network-address/parse-uri/3 1199s ok 23 /network-address/parse-uri/4 1199s ok 24 /network-address/parse-uri/5 1199s ok 25 /network-address/parse-uri/6 1199s ok 26 /network-address/parse-uri/7 1199s ok 27 /network-address/parse-uri/8 1199s ok 28 /network-address/parse-uri/9 1199s # End of parse-uri tests 1199s # Start of resolve-address tests 1199s # Input: 192.168.1.2 1199s ok 29 /network-address/resolve-address/0 1199s # Input: fe80::42 1199s ok 30 /network-address/resolve-address/1 1199s # Input: 192.168.1.2:80 1199s ok 31 /network-address/resolve-address/2 1199s # Input: [fe80::42] 1199s ok 32 /network-address/resolve-address/3 1199s # Input: [fe80::42]:80 1199s ok 33 /network-address/resolve-address/4 1199s # Input: 192.168.258 1199s ok 34 /network-address/resolve-address/5 1199s # Input: 192.11010306 1199s ok 35 /network-address/resolve-address/6 1199s # Input: 3232235778 1199s ok 36 /network-address/resolve-address/7 1199s # Input: 0300.0250.0001.0001 1199s ok 37 /network-address/resolve-address/8 1199s # Input: 0xC0.0xA8.0x01.0x02 1199s ok 38 /network-address/resolve-address/9 1199s # Input: 0xc0.0xa8.0x01.0x02 1199s ok 39 /network-address/resolve-address/10 1199s # Input: 0xc0a80102 1199s ok 40 /network-address/resolve-address/11 1199s # End of resolve-address tests 1199s # Start of loopback tests 1199s ok 41 /network-address/loopback/basic 1199s ok 42 /network-address/loopback/sync 1199s ok 43 /network-address/loopback/async 1199s # End of loopback tests 1199s # Start of localhost tests 1199s ok 44 /network-address/localhost/async 1199s ok 45 /network-address/localhost/sync 1199s # End of localhost tests 1199s # Start of happy-eyeballs tests 1199s ok 46 /network-address/happy-eyeballs/basic 1199s ok 47 /network-address/happy-eyeballs/parallel 1199s ok 48 /network-address/happy-eyeballs/slow-ipv4 1199s ok 49 /network-address/happy-eyeballs/slow-ipv6 1199s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1200s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1200s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1200s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1200s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1200s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1200s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1200s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1200s # /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. 1200s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1200s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1200s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1200s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1200s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1200s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1200s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1200s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1200s ok 57 /network-address/happy-eyeballs/both-error 1200s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1200s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1200s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1200s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1200s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1200s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1200s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1200s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1200s # End of happy-eyeballs tests 1200s # End of network-address tests 1200s # Start of gresolver tests 1200s # Start of resolve-address tests 1200s # Input: 192.168.1.2 1200s ok 61 /gresolver/resolve-address/0 1200s # Input: fe80::42 1200s ok 62 /gresolver/resolve-address/1 1200s # Input: 192.168.1.2:80 1200s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1200s ok 63 /gresolver/resolve-address/2 1200s # Input: [fe80::42] 1200s # Error: Error resolving ?[fe80::42]?: Name or service not known 1200s ok 64 /gresolver/resolve-address/3 1200s # Input: [fe80::42]:80 1200s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1200s ok 65 /gresolver/resolve-address/4 1200s # Input: 192.168.258 1200s # Error: Error resolving ?192.168.258?: Name or service not known 1200s ok 66 /gresolver/resolve-address/5 1200s # Input: 192.11010306 1200s # Error: Error resolving ?192.11010306?: Name or service not known 1200s ok 67 /gresolver/resolve-address/6 1200s # Input: 3232235778 1200s # Error: Error resolving ?3232235778?: Name or service not known 1200s ok 68 /gresolver/resolve-address/7 1200s # Input: 0300.0250.0001.0001 1200s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1200s ok 69 /gresolver/resolve-address/8 1200s # Input: 0xC0.0xA8.0x01.0x02 1200s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1200s ok 70 /gresolver/resolve-address/9 1200s # Input: 0xc0.0xa8.0x01.0x02 1200s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1200s ok 71 /gresolver/resolve-address/10 1200s # Input: 0xc0a80102 1200s # Error: Error resolving ?0xc0a80102?: Name or service not known 1200s ok 72 /gresolver/resolve-address/11 1200s # End of resolve-address tests 1200s # End of gresolver tests 1200s ok - glib/network-address.test 1200s # Running test: glib/mount-operation.test 1200s TAP version 14 1200s # random seed: R02S0ca63df1bdba0e191825454ee54cec99 1200s 1..2 1200s # Start of mount-operation tests 1200s ok 1 /mount-operation/construction 1200s ok 2 /mount-operation/properties 1200s # End of mount-operation tests 1200s ok - glib/mount-operation.test 1200s # Running test: glib/macros.test 1200s TAP version 14 1200s # random seed: R02Sffc462422101309f70e95d8510ed15f1 1200s 1..3 1200s # Start of alignof tests 1200s ok 1 /alignof/fallback 1200s # End of alignof tests 1200s # Start of assert tests 1200s ok 2 /assert/static 1200s # End of assert tests 1200s # Start of struct tests 1200s ok 3 /struct/sizeof_member 1200s # End of struct tests 1200s ok - glib/macros.test 1200s # Running test: glib/buffered-input-stream.test 1200s TAP version 14 1200s # random seed: R02Se134d766ad89561b320a326ce205bc0f 1200s 1..10 1200s # Start of buffered-input-stream tests 1200s ok 1 /buffered-input-stream/peek 1200s ok 2 /buffered-input-stream/peek-buffer 1200s ok 3 /buffered-input-stream/set-buffer-size 1200s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1200s ok 4 /buffered-input-stream/read-byte 1200s ok 5 /buffered-input-stream/read 1200s ok 6 /buffered-input-stream/read-async 1200s ok 7 /buffered-input-stream/skip 1200s ok 8 /buffered-input-stream/skip-async 1200s ok 9 /buffered-input-stream/seek 1200s # End of buffered-input-stream tests 1200s # Start of filter-input-stream tests 1200s ok 10 /filter-input-stream/close 1200s # End of filter-input-stream tests 1200s ok - glib/buffered-input-stream.test 1200s # Running test: glib/gdbus-close-pending.test 1200s TAP version 14 1200s # random seed: R02S49e315a6a6a47e086e0903bf3faea5de 1200s 1..2 1200s # Start of gdbus tests 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/close-pending/.dirs/runtime 1200s ok 1 /gdbus/close-pending 1200s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/home 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/cache 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/system-config2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/config 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/system-data2 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/data 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/state 1200s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_6LZ7Z2/gdbus/unref-pending/.dirs/runtime 1201s ok 2 /gdbus/unref-pending 1201s # End of gdbus tests 1201s ok - glib/gdbus-close-pending.test 1201s # Running test: glib/atomic.test 1201s TAP version 14 1201s # random seed: R02S1fefa7c12e8088d21390e2f84ac1cae1 1201s 1..2 1201s # Start of atomic tests 1201s ok 1 /atomic/types 1201s ok 2 /atomic/threaded 1201s # End of atomic tests 1201s ok - glib/atomic.test 1201s # Running test: glib/option-context.test 1201s TAP version 14 1201s # random seed: R02S1ce47980808e329a109c95f79593c986 1201s 1..57 1201s # Start of option tests 1201s ok 1 /option/basic 1201s ok 2 /option/translate 1201s ok 3 /option/strict-posix 1201s # Start of help tests 1201s ok 4 /option/help/options 1201s ok 5 /option/help/no-options 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1201s ok 6 /option/help/no-help-options 1201s # End of help tests 1201s # Start of group tests 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1201s ok 7 /option/group/captions 1201s ok 8 /option/group/main 1201s ok 9 /option/group/error-hook 1201s ok 10 /option/group/parse 1201s # Start of captions tests 1201s # Start of subprocess tests 1201s # End of subprocess tests 1201s # End of captions tests 1201s # End of group tests 1201s # Start of restoration tests 1201s ok 11 /option/restoration/int 1201s ok 12 /option/restoration/string 1201s ok 13 /option/restoration/boolean 1201s # End of restoration tests 1201s # Start of arg tests 1201s ok 14 /option/arg/reverse-string 1201s ok 15 /option/arg/optional-int 1201s # Start of repetition tests 1201s ok 16 /option/arg/repetition/int 1201s ok 17 /option/arg/repetition/string 1201s ok 18 /option/arg/repetition/filename 1201s ok 19 /option/arg/repetition/double 1201s ok 20 /option/arg/repetition/locale 1201s ok 21 /option/arg/repetition/int64 1201s # End of repetition tests 1201s # Start of array tests 1201s ok 22 /option/arg/array/string 1201s # End of array tests 1201s # Start of callback tests 1201s ok 23 /option/arg/callback/string 1201s ok 24 /option/arg/callback/count 1201s ok 25 /option/arg/callback/optional1 1201s ok 26 /option/arg/callback/optional2 1201s ok 27 /option/arg/callback/optional3 1201s ok 28 /option/arg/callback/optional4 1201s ok 29 /option/arg/callback/optional5 1201s ok 30 /option/arg/callback/optional6 1201s ok 31 /option/arg/callback/optional7 1201s ok 32 /option/arg/callback/optional8 1201s # End of callback tests 1201s # Start of remaining tests 1201s ok 33 /option/arg/remaining/callback 1201s ok 34 /option/arg/remaining/callback-false 1201s ok 35 /option/arg/remaining/non-option 1201s ok 36 /option/arg/remaining/separator 1201s ok 37 /option/arg/remaining/array 1201s # End of remaining tests 1201s # Start of ignore tests 1201s ok 38 /option/arg/ignore/long 1201s ok 39 /option/arg/ignore/short 1201s ok 40 /option/arg/ignore/arg 1201s # End of ignore tests 1201s # Start of rest tests 1201s ok 41 /option/arg/rest/non-option 1201s ok 42 /option/arg/rest/separator1 1201s ok 43 /option/arg/rest/separator2 1201s ok 44 /option/arg/rest/separator3 1201s ok 45 /option/arg/rest/separator4 1201s ok 46 /option/arg/rest/separator5 1201s # End of rest tests 1201s # End of arg tests 1201s # Start of context tests 1201s ok 47 /option/context/add 1201s ok 48 /option/context/empty2 1201s ok 49 /option/context/empty3 1201s # End of context tests 1201s # Start of bug tests 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1201s ok 50 /option/bug/unknown-short 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1201s ok 51 /option/bug/lonely-dash 1201s ok 52 /option/bug/triple-dash 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1201s ok 53 /option/bug/missing-arg 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1201s ok 54 /option/bug/dash-arg 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1201s ok 55 /option/bug/short-remaining 1201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1201s ok 56 /option/bug/double-free 1201s ok 57 /option/bug/double-zero 1201s # End of bug tests 1201s # End of option tests 1201s ok - glib/option-context.test 1201s # Running test: glib/tls-bindings.test 1201s TAP version 14 1201s # random seed: R02S62b748db2aa9577e9dbd977776714d9c 1201s 1..2 1201s # Start of tls-connection tests 1201s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1201s ok 1 /tls-connection/get-tls-channel-binding 1201s ok 2 /tls-connection/get-dtls-channel-binding 1201s # End of tls-connection tests 1201s ok - glib/tls-bindings.test 1201s # Running test: glib/markup-collect.test 1201s TAP version 14 1201s # random seed: R02S4f97c2cf79d11f6fd8a785db5b71c530 1201s 1..21 1201s # Start of markup tests 1201s # Start of collect tests 1201s ok 1 /markup/collect/0 1201s ok 2 /markup/collect/1 1201s ok 3 /markup/collect/2 1201s ok 4 /markup/collect/3 1201s ok 5 /markup/collect/4 1201s ok 6 /markup/collect/5 1201s ok 7 /markup/collect/6 1201s ok 8 /markup/collect/7 1201s ok 9 /markup/collect/8 1201s ok 10 /markup/collect/9 1201s ok 11 /markup/collect/10 1201s ok 12 /markup/collect/11 1201s ok 13 /markup/collect/12 1201s ok 14 /markup/collect/13 1201s ok 15 /markup/collect/14 1201s ok 16 /markup/collect/15 1201s ok 17 /markup/collect/16 1201s ok 18 /markup/collect/17 1201s ok 19 /markup/collect/18 1201s ok 20 /markup/collect/19 1201s ok 21 /markup/collect/cleanup 1201s # End of collect tests 1201s # End of markup tests 1201s ok - glib/markup-collect.test 1201s # Running test: glib/unix.test 1201s TAP version 14 1201s # random seed: R02S940cd0b425248c8a21e444245e97c961 1201s 1..20 1201s # Start of glib-unix tests 1201s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1201s ok 1 /glib-unix/closefrom 1201s ok 2 /glib-unix/pipe 1201s # /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 1201s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1201s ok 3 /glib-unix/pipe-stdio-overwrite 1201s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1201s ok 4 /glib-unix/pipe-struct 1201s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1201s ok 5 /glib-unix/pipe-struct-auto 1201s ok 6 /glib-unix/error 1201s ok 7 /glib-unix/nonblocking 1201s ok 8 /glib-unix/sighup 1201s # slow test /glib-unix/sighup executed in 0.50 secs 1202s ok 9 /glib-unix/sigterm 1202s # slow test /glib-unix/sigterm executed in 0.50 secs 1202s ok 10 /glib-unix/sighup_again 1202s # slow test /glib-unix/sighup_again executed in 0.50 secs 1202s ok 11 /glib-unix/sighup_add_remove 1202s ok 12 /glib-unix/sighup_nested 1203s # Executing: glib/unix.test 1204s ok 13 /glib-unix/callback_after_signal 1204s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1204s ok 14 /glib-unix/child-wait 1204s # Start of closefrom tests 1204s # Start of subprocess tests 1204s # End of subprocess tests 1204s # End of closefrom tests 1204s # Start of pipe tests 1204s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1204s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1204s ok 15 /glib-unix/pipe/fd-cloexec 1204s # End of pipe tests 1204s # Start of sighup tests 1205s ok 16 /glib-unix/sighup/alternate-stack 1205s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1205s # End of sighup tests 1205s # Start of sigterm tests 1206s ok 17 /glib-unix/sigterm/alternate-stack 1206s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1206s # End of sigterm tests 1206s # Start of sighup_again tests 1207s ok 18 /glib-unix/sighup_again/alternate-stack 1207s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1207s # End of sighup_again tests 1207s # Start of get-passwd-entry tests 1207s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1207s ok 19 /glib-unix/get-passwd-entry/root 1207s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1207s ok 20 /glib-unix/get-passwd-entry/nonexistent 1207s # End of get-passwd-entry tests 1207s # End of glib-unix tests 1207s ok - glib/unix.test 1207s # Running test: glib/socket-service.test 1207s TAP version 14 1207s # random seed: R02S334a13efaf0141ca0ad8e2485cdb8efe 1207s 1..4 1207s # Start of socket-service tests 1207s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1d5b1633390 and GSocketClientAsyncConnectData 0xb1d5b162b630 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s ok 1 /socket-service/start-stop 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1d5b1634ef0 and GSocketClientAsyncConnectData 0xb1d5b1634c90 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1208s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1d5b1635400 for GSocketClientAsyncConnectData 0xb1d5b162b630 1208s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1208s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1208s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1208s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1208s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1208s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1d5b1636280 for GSocketClientAsyncConnectData 0xb1d5b1634c90 1208s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1208s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1208s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1208s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1208s ok 2 /socket-service/read_write_async 1208s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1d5b1636d00 and GSocketClientAsyncConnectData 0xb1d5b16369b0 1208s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1208s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1208s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1d5b1636ca0 for GSocketClientAsyncConnectData 0xb1d5b16369b0 1208s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1208s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1208s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1208s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1208s ok 3 /socket-service/read_writev_async 1208s # Start of threaded tests 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1208s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb1d5b163a7e0 and GSocketClientAsyncConnectData 0xb1d5b162b630 1208s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1208s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1208s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb1d5b163a9b0 for GSocketClientAsyncConnectData 0xb1d5b162b630 1208s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1208s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1208s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1208s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1208s ok 4 /socket-service/threaded/712570 1208s # End of threaded tests 1208s # End of socket-service tests 1208s ok - glib/socket-service.test 1208s # Running test: glib/closure.test 1208s TAP version 14 1208s # random seed: R02Se9c19eb3ef56450c58da525ea30fb4a0 1208s 1..6 1208s # Start of closure tests 1208s ok 1 /closure/idle 1208s ok 2 /closure/timeout 1208s ok 3 /closure/iochannel 1208s ok 4 /closure/child 1208s ok 5 /closure/fd 1208s ok 6 /closure/signal 1208s # End of closure tests 1208s ok - glib/closure.test 1208s # Running test: glib/memory-output-stream.test 1208s TAP version 14 1208s # random seed: R02S2939f19f840eb38a866825253eace90e 1208s 1..10 1208s # Start of memory-output-stream tests 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1208s ok 1 /memory-output-stream/truncate 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1208s ok 2 /memory-output-stream/get-data-size 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1208s ok 3 /memory-output-stream/properties 1208s ok 4 /memory-output-stream/write-bytes 1208s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1208s ok 5 /memory-output-stream/write-null 1208s ok 6 /memory-output-stream/writev 1208s ok 7 /memory-output-stream/writev_nonblocking 1208s ok 8 /memory-output-stream/steal_as_bytes 1208s # Start of seek tests 1208s ok 9 /memory-output-stream/seek/fixed 1208s ok 10 /memory-output-stream/seek/resizable 1208s # End of seek tests 1208s # End of memory-output-stream tests 1208s ok - glib/memory-output-stream.test 1208s # Running test: glib/null-settings-backend.test 1208s TAP version 14 1208s # random seed: R02Sf61ff5426edb3ac3a69b97437ceadfa5 1208s 1..1 1208s # Start of null-settings-backend tests 1208s ok 1 /null-settings-backend/extension-point-registered 1208s # End of null-settings-backend tests 1208s ok - glib/null-settings-backend.test 1208s # Running test: glib/thread.test 1208s TAP version 14 1208s # random seed: R02S409a2672743041bd93c7390538d60243 1208s 1..7 1208s # Start of thread tests 1208s ok 1 /thread/thread1 1208s ok 2 /thread/thread2 1208s ok 3 /thread/thread3 1208s ok 4 /thread/thread4 1208s ok 5 /thread/thread5 1208s ok 6 /thread/thread6 1208s ok 7 /thread/thread7 1208s # End of thread tests 1208s ok - glib/thread.test 1208s # Running test: glib/signal-handler.test 1208s TAP version 14 1208s # random seed: R02S79deabee73cd05d34514e66446b9cb0c 1208s 1..7 1208s # Start of signal tests 1208s # Start of handler tests 1208s # min perf: connected 1 handlers in 0.000 seconds 1208s ok 1 /signal/handler/connect-many 1208s # min perf: disconnected 1 handlers in 0.000 seconds 1208s ok 2 /signal/handler/disconnect-many-ordered 1208s # min perf: disconnected 1 handlers in 0.000 seconds 1208s ok 3 /signal/handler/disconnect-many-inverse 1208s # min perf: disconnected 1 handlers in 0.000 seconds 1208s ok 4 /signal/handler/disconnect-many-random 1208s # min perf: disconnected 1 handlers in 0.000 seconds 1208s ok 5 /signal/handler/disconnect-2-signals 1208s # min perf: disconnected 1 handlers in 0.000 seconds 1208s ok 6 /signal/handler/disconnect-2-objects 1208s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1208s ok 7 /signal/handler/block-many 1208s # End of handler tests 1208s # End of signal tests 1208s ok - glib/signal-handler.test 1208s # Running test: glib/object.test 1208s TAP version 14 1208s # random seed: R02S1e20d03931118d545d61ff0c5f2fb6dc 1208s 1..2 1208s # Start of object tests 1208s # Start of constructor tests 1208s ok 1 /object/constructor/singleton 1208s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1208s # End of constructor tests 1208s # End of object tests 1208s ok - glib/object.test 1208s # Running test: glib/defaultiface.test 1208s TAP version 14 1208s # random seed: R02S7c8a84264bd66465d05255fa3f441222 1208s 1..2 1208s # Start of gobject tests 1208s ok 1 /gobject/static-iface 1208s ok 2 /gobject/dynamic-iface 1208s # End of gobject tests 1208s ok - glib/defaultiface.test 1208s # Running test: glib/gthash.test 1208s TAP version 14 1208s # random seed: R02S715daf5749d7b65a55e59f3b0e7be247 1208s 1..1 1208s # Start of gthash tests 1208s ok 1 /gthash/build-retrieve 1208s # End of gthash tests 1208s ok - glib/gthash.test 1208s # Running test: glib/bytes.test 1208s TAP version 14 1208s # random seed: R02Scb838395f1e3285cd5a31490e331fc9f 1208s 1..21 1208s # Start of bytes tests 1208s ok 1 /bytes/new 1208s ok 2 /bytes/new-take 1208s ok 3 /bytes/new-static 1208s ok 4 /bytes/new-with-free-func 1208s ok 5 /bytes/new-from-bytes 1208s ok 6 /bytes/new-from-bytes-slice 1208s ok 7 /bytes/new-from-bytes-shared-ref 1208s ok 8 /bytes/hash 1208s ok 9 /bytes/equal 1208s ok 10 /bytes/compare 1208s ok 11 /bytes/null 1208s ok 12 /bytes/get-region 1208s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1208s ok 13 /bytes/unref-null 1208s # Start of to-data tests 1208s ok 14 /bytes/to-data/transferred 1208s ok 15 /bytes/to-data/two-refs 1208s ok 16 /bytes/to-data/non-malloc 1208s ok 17 /bytes/to-data/different-free-func 1208s # End of to-data tests 1208s # Start of to-array tests 1208s ok 18 /bytes/to-array/transferred 1208s ok 19 /bytes/to-array/two-refs 1208s ok 20 /bytes/to-array/non-malloc 1208s # Start of transferred tests 1208s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1208s ok 21 /bytes/to-array/transferred/oversize 1208s # End of transferred tests 1208s # End of to-array tests 1208s # End of bytes tests 1208s ok - glib/bytes.test 1208s # Running test: glib/autoptr-gio.test 1208s TAP version 14 1208s # random seed: R02S9d809ce771ab13b0d21ec86ffec548c2 1208s 1..1 1208s # Start of autoptr tests 1208s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1208s ok 1 /autoptr/autoptr 1208s # End of autoptr tests 1208s ok - glib/autoptr-gio.test 1208s # Running test: glib/portal-support-env-var.test 1208s TAP version 14 1208s # random seed: R02S41a59eaf07ba8ec701262f894e358f6d 1208s 1..1 1208s # Start of portal-support tests 1208s ok 1 /portal-support/env-var 1208s # End of portal-support tests 1208s ok - glib/portal-support-env-var.test 1208s # Running test: glib/timeout.test 1208s TAP version 14 1208s # random seed: R02S7046dde6cb4273c214a097d7f06e6c8b 1208s 1..5 1208s # Start of timeout tests 1208s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1208s # Executing: glib/timeout.test 1210s ok 1 /timeout/seconds 1210s # slow test /timeout/seconds executed in 2.10 secs 1212s ok 2 /timeout/seconds-once 1212s # slow test /timeout/seconds-once executed in 2.10 secs 1212s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1213s # Executing: glib/timeout.test 1214s ok 3 /timeout/weeks-overflow 1214s # slow test /timeout/weeks-overflow executed in 2.10 secs 1214s ok 4 /timeout/far-future-ready-time 1218s # Executing: glib/timeout.test 1223s # Executing: glib/timeout.test 1224s ok 5 /timeout/rounding 1224s # slow test /timeout/rounding executed in 10.07 secs 1224s # End of timeout tests 1224s ok - glib/timeout.test 1224s # Running test: glib/references.test 1224s TAP version 14 1224s # random seed: R02Sd02311b373ac35f38322f3cf7330b29f 1224s 1..1 1224s # Start of gobject tests 1224s ok 1 /gobject/references 1224s # End of gobject tests 1224s ok - glib/references.test 1224s # Running test: glib/utils-c-17.test 1224s TAP version 14 1224s # random seed: R02Se34bcb2ba4f099d349d4dfe17fec6634 1224s 1..40 1224s # Start of utils tests 1224s ok 1 /utils/language-names 1224s ok 2 /utils/locale-variants 1224s ok 3 /utils/version 1224s ok 4 /utils/appname 1224s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1224s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1224s ok 5 /utils/prgname-thread-safety 1224s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1224s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1224s ok 6 /utils/tmpdir 1224s ok 7 /utils/basic_bits 1224s ok 8 /utils/bits 1224s ok 9 /utils/swap 1224s ok 10 /utils/find-program 1224s ok 11 /utils/find-program-for-path 1224s ok 12 /utils/debug 1224s ok 13 /utils/codeset 1224s ok 14 /utils/codeset2 1224s ok 15 /utils/console-charset 1224s ok 16 /utils/gettext 1224s ok 17 /utils/username 1224s ok 18 /utils/realname 1224s ok 19 /utils/hostname 1224s ok 20 /utils/xdgdirs 1224s ok 21 /utils/specialdir 1224s # NAME: Ubuntu 1224s ok 22 /utils/os-info 1224s ok 23 /utils/clear-pointer 1224s ok 24 /utils/clear-pointer-cast 1224s ok 25 /utils/take-pointer 1224s ok 26 /utils/clear-source 1224s ok 27 /utils/misc-mem 1224s # /utils/aligned-mem summary: Aligned memory allocator 1224s # Alignment must not be zero 1224s # Alignment must be a power of two 1224s # Alignment must be a multiple of sizeof(void*) 1224s ok 28 /utils/aligned-mem 1224s # /utils/free-sized summary: Check that g_free_sized() works 1224s ok 29 /utils/free-sized 1224s ok 30 /utils/nullify 1224s ok 31 /utils/atexit 1224s ok 32 /utils/check-setuid 1224s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1224s ok 33 /utils/int-limits 1224s ok 34 /utils/clear-list 1224s ok 35 /utils/clear-slist 1224s # Start of specialdir tests 1224s ok 36 /utils/specialdir/desktop 1224s # End of specialdir tests 1224s # Start of clear-pointer tests 1224s ok 37 /utils/clear-pointer/side-effects 1224s # End of clear-pointer tests 1224s # Start of aligned-mem tests 1224s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1224s ok 38 /utils/aligned-mem/alignment 1224s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1224s ok 39 /utils/aligned-mem/zeroed 1224s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1224s ok 40 /utils/aligned-mem/free-sized 1224s # Start of subprocess tests 1224s # End of subprocess tests 1224s # End of aligned-mem tests 1224s # End of utils tests 1224s ok - glib/utils-c-17.test 1224s # Running test: glib/dbus-appinfo.test 1224s TAP version 14 1224s # random seed: R02Sbb0ced1f1a860bc0c74098758f5ebdde 1224s 1..3 1224s # Start of appinfo tests 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1224s ok 1 /appinfo/dbusappinfo 1224s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1224s dbus-daemon[3888]: [session uid=1000 pid=3888] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=3887 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1224s # Acquired a message bus connection 1224s dbus-daemon[3888]: [session uid=1000 pid=3888] Successfully activated service 'org.freedesktop.portal.Documents' 1224s # Acquired the name org.freedesktop.portal.Documents 1224s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1224s ok 2 /appinfo/flatpak-doc-export 1224s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1224s ok 3 /appinfo/flatpak-missing-doc-export 1224s # End of appinfo tests 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # Lost the name org.freedesktop.portal.Documents 1224s ok - glib/dbus-appinfo.test 1224s # Running test: glib/gdbus-auth.test 1224s TAP version 14 1224s # random seed: R02S9435049850dae2b5f193bc033d28ad4a 1224s 1..5 1224s # Start of gdbus tests 1224s # Start of auth tests 1224s # Start of client tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/EXTERNAL/.dirs/runtime 1224s ok 1 /gdbus/auth/client/EXTERNAL 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1224s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1224s # End of client tests 1224s # Start of server tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1224s ok 3 /gdbus/auth/server/ANONYMOUS 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/EXTERNAL/.dirs/runtime 1224s ok 4 /gdbus/auth/server/EXTERNAL 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_MWPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1224s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1224s # End of server tests 1224s # End of auth tests 1224s # End of gdbus tests 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok - glib/gdbus-auth.test 1224s # Running test: glib/gobject-query.py.test 1224s TAP version 13 1224s ok 1 __main__.TestGobjectQuery.test_froots 1224s # gobject-query: /usr/bin/gobject-query 1224s # Running: ['/usr/bin/gobject-query', 'froots'] 1224s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s # Output: ├void 1224s # ├GInterface 1224s # │ â””GTypePlugin 1224s # ├gchar 1224s # ├guchar 1224s # ├gboolean 1224s # ├gint 1224s # ├guint 1224s # ├glong 1224s # ├gulong 1224s # ├gint64 1224s # ├guint64 1224s # ├GEnum 1224s # ├GFlags 1224s # ├gfloat 1224s # ├gdouble 1224s # ├gchararray 1224s # ├gpointer 1224s # │ â””GType 1224s # ├GBoxed 1224s # │ â””GValueArray 1224s # ├GParam 1224s # │ ├GParamChar 1224s # │ ├GParamUChar 1224s # │ ├GParamBoolean 1224s # │ ├GParamInt 1224s # │ ├GParamUInt 1224s # │ ├GParamLong 1224s # │ ├GParamULong 1224s # │ ├GParamInt64 1224s # │ ├GParamUInt64 1224s # │ ├GParamUnichar 1224s # │ ├GParamEnum 1224s # │ ├GParamFlags 1224s # │ ├GParamFloat 1224s # │ ├GParamDouble 1224s # │ ├GParamString 1224s # │ ├GParamParam 1224s # │ ├GParamBoxed 1224s # │ ├GParamPointer 1224s # │ ├GParamValueArray 1224s # │ ├GParamObject 1224s # │ ├GParamOverride 1224s # │ ├GParamGType 1224s # │ â””GParamVariant 1224s # ├GObject 1224s # â””GVariant 1224s ok 2 __main__.TestGobjectQuery.test_help 1224s # gobject-query: /usr/bin/gobject-query 1224s # Running: ['/usr/bin/gobject-query', '--help'] 1224s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1224s # -r specify root type 1224s # -n don't descend type tree 1224s # -h show help 1224s # -b specify indent string 1224s # -i specify incremental indent string 1224s # -s specify line spacing 1224s # qualifiers: 1224s # froots iterate over fundamental roots 1224s # tree print type tree 1224s ok 3 __main__.TestGobjectQuery.test_tree 1224s # gobject-query: /usr/bin/gobject-query 1224s # Running: ['/usr/bin/gobject-query', 'tree'] 1224s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s # Output: GObject 1224s ok 4 __main__.TestGobjectQuery.test_version 1224s # gobject-query: /usr/bin/gobject-query 1224s # Running: ['/usr/bin/gobject-query', '--version'] 1224s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s # Output: 2.82.4 1224s 1..4 1224s ok - glib/gobject-query.py.test 1224s # Running test: glib/properties-refcount4.test 1224s TAP version 14 1224s # random seed: R02S754b4b59a0905e01627f622a7ea03d05 1224s 1..1 1224s # Start of gobject tests 1224s # Start of refcount tests 1224s ok 1 /gobject/refcount/properties-4 1224s # End of refcount tests 1224s # End of gobject tests 1224s ok - glib/properties-refcount4.test 1224s # Running test: glib/registered-type-info.test 1224s TAP version 14 1224s # random seed: R02S062304151ff37ddbf89409d30fbc9c77 1224s 1..1 1224s # Start of registered-type-info tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_SKS9Z2/registered-type-info/boxed/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1224s # Expecting CClosure to not be boxed 1224s # Expecting TypeCValue to not be boxed 1224s # Expecting InitiallyUnownedClass to not be boxed 1224s # Expecting BookmarkFile to be boxed 1224s # Expecting Closure to be boxed 1224s # Expecting Object to not be boxed 1224s ok 1 /registered-type-info/boxed 1224s # End of registered-type-info tests 1224s ok - glib/registered-type-info.test 1224s # Running test: glib/deftype.test 1224s ok - glib/deftype.test 1224s # Running test: glib/power-profile-monitor-dbus.test 1224s TAP version 13 1224s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1225s 1..1 1225s ok - glib/power-profile-monitor-dbus.test 1225s # Running test: glib/object-info.test 1225s TAP version 14 1225s # random seed: R02S5661a220a3b1bc24fe20d43cbd48e929 1225s 1..2 1225s # Start of object-info tests 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_GYXJ02/object-info/find-method-using-interfaces/.dirs/runtime 1225s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1225s ok 1 /object-info/find-method-using-interfaces 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_GYXJ02/object-info/find-vfunc-using-interfaces/.dirs/runtime 1225s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1225s ok 2 /object-info/find-vfunc-using-interfaces 1225s # End of object-info tests 1225s ok - glib/object-info.test 1225s # Running test: glib/unicode.test 1225s TAP version 14 1225s # random seed: R02S317d48fa5d357b37f653db18f6b6279e 1225s 1..39 1225s # Start of unicode tests 1225s ok 1 /unicode/alnum 1225s ok 2 /unicode/alpha 1225s ok 3 /unicode/break-type 1225s ok 4 /unicode/canonical-decomposition 1225s ok 5 /unicode/casefold 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s # Cannot set locale to lt_LT, skipping 1225s ok 6 /unicode/casemap_and_casefold 1225s ok 7 /unicode/cases 1225s ok 8 /unicode/character-type 1225s ok 9 /unicode/cntrl 1225s ok 10 /unicode/combining-class 1225s ok 11 /unicode/compose 1225s ok 12 /unicode/decompose 1225s ok 13 /unicode/decompose-tail 1225s ok 14 /unicode/defined 1225s ok 15 /unicode/digit 1225s ok 16 /unicode/digit-value 1225s ok 17 /unicode/fully-decompose-canonical 1225s ok 18 /unicode/fully-decompose-len 1225s ok 19 /unicode/normalization 1225s ok 20 /unicode/graph 1225s # Testing script Zyyy (code 1517910393) 1225s # Testing script Zinh (code 1516858984) 1225s # Testing script Zmth (code 1517122664) 1225s # Testing script Arab (code 1098015074) 1225s # Testing script Armn (code 1098018158) 1225s # Testing script Beng (code 1113943655) 1225s # Testing script Bopo (code 1114599535) 1225s # Testing script Cher (code 1130915186) 1225s # Testing script Copt (code 1131376756) 1225s # Testing script Cyrl (code 1132032620) 1225s # Testing script Dsrt (code 1148416628) 1225s # Testing script Deva (code 1147500129) 1225s # Testing script Ethi (code 1165256809) 1225s # Testing script Geor (code 1197830002) 1225s # Testing script Goth (code 1198486632) 1225s # Testing script Grek (code 1198679403) 1225s # Testing script Gujr (code 1198877298) 1225s # Testing script Guru (code 1198879349) 1225s # Testing script Hani (code 1214344809) 1225s # Testing script Hang (code 1214344807) 1225s # Testing script Hebr (code 1214603890) 1225s # Testing script Hira (code 1214870113) 1225s # Testing script Knda (code 1265525857) 1225s # Testing script Kana (code 1264676449) 1225s # Testing script Khmr (code 1265134962) 1225s # Testing script Laoo (code 1281453935) 1225s # Testing script Latn (code 1281455214) 1225s # Testing script Mlym (code 1298954605) 1225s # Testing script Mong (code 1299148391) 1225s # Testing script Mymr (code 1299803506) 1225s # Testing script Ogam (code 1332175213) 1225s # Testing script Ital (code 1232363884) 1225s # Testing script Orya (code 1332902241) 1225s # Testing script Runr (code 1383427698) 1225s # Testing script Sinh (code 1399418472) 1225s # Testing script Syrc (code 1400468067) 1225s # Testing script Taml (code 1415671148) 1225s # Testing script Telu (code 1415933045) 1225s # Testing script Thaa (code 1416126817) 1225s # Testing script Thai (code 1416126825) 1225s # Testing script Tibt (code 1416192628) 1225s # Testing script Cans (code 1130458739) 1225s # Testing script Yiii (code 1500080489) 1225s # Testing script Tglg (code 1416064103) 1225s # Testing script Hano (code 1214344815) 1225s # Testing script Buhd (code 1114990692) 1225s # Testing script Tagb (code 1415669602) 1225s # Testing script Brai (code 1114792297) 1225s # Testing script Cprt (code 1131442804) 1225s # Testing script Limb (code 1281977698) 1225s # Testing script Osma (code 1332964705) 1225s # Testing script Shaw (code 1399349623) 1225s # Testing script Linb (code 1281977954) 1225s # Testing script Tale (code 1415670885) 1225s # Testing script Ugar (code 1432838514) 1225s # Testing script Talu (code 1415670901) 1225s # Testing script Bugi (code 1114990441) 1225s # Testing script Glag (code 1198285159) 1225s # Testing script Tfng (code 1415999079) 1225s # Testing script Sylo (code 1400466543) 1225s # Testing script Xpeo (code 1483761007) 1225s # Testing script Khar (code 1265131890) 1225s # Testing script Zzzz (code 1517976186) 1225s # Testing script Bali (code 1113681001) 1225s # Testing script Xsux (code 1483961720) 1225s # Testing script Phnx (code 1349021304) 1225s # Testing script Phag (code 1349017959) 1225s # Testing script Nkoo (code 1315663727) 1225s # Testing script Kali (code 1264675945) 1225s # Testing script Lepc (code 1281716323) 1225s # Testing script Rjng (code 1382706791) 1225s # Testing script Sund (code 1400204900) 1225s # Testing script Saur (code 1398895986) 1225s # Testing script Cham (code 1130914157) 1225s # Testing script Olck (code 1332503403) 1225s # Testing script Vaii (code 1449224553) 1225s # Testing script Cari (code 1130459753) 1225s # Testing script Lyci (code 1283023721) 1225s # Testing script Lydi (code 1283023977) 1225s # Testing script Avst (code 1098281844) 1225s # Testing script Bamu (code 1113681269) 1225s # Testing script Egyp (code 1164409200) 1225s # Testing script Armi (code 1098018153) 1225s # Testing script Phli (code 1349020777) 1225s # Testing script Prti (code 1349678185) 1225s # Testing script Java (code 1247901281) 1225s # Testing script Kthi (code 1265920105) 1225s # Testing script Lisu (code 1281979253) 1225s # Testing script Mtei (code 1299473769) 1225s # Testing script Sarb (code 1398895202) 1225s # Testing script Orkh (code 1332898664) 1225s # Testing script Samr (code 1398893938) 1225s # Testing script Lana (code 1281453665) 1225s # Testing script Tavt (code 1415673460) 1225s # Testing script Batk (code 1113683051) 1225s # Testing script Brah (code 1114792296) 1225s # Testing script Mand (code 1298230884) 1225s # Testing script Cakm (code 1130457965) 1225s # Testing script Merc (code 1298494051) 1225s # Testing script Mero (code 1298494063) 1225s # Testing script Plrd (code 1349284452) 1225s # Testing script Shrd (code 1399353956) 1225s # Testing script Sora (code 1399812705) 1225s # Testing script Takr (code 1415670642) 1225s # Testing script Bass (code 1113682803) 1225s # Testing script Aghb (code 1097295970) 1225s # Testing script Dupl (code 1148547180) 1225s # Testing script Elba (code 1164730977) 1225s # Testing script Gran (code 1198678382) 1225s # Testing script Khoj (code 1265135466) 1225s # Testing script Sind (code 1399418468) 1225s # Testing script Lina (code 1281977953) 1225s # Testing script Mahj (code 1298229354) 1225s # Testing script Mani (code 1298230889) 1225s # Testing script Mend (code 1298493028) 1225s # Testing script Modi (code 1299145833) 1225s # Testing script Mroo (code 1299345263) 1225s # Testing script Nbat (code 1315070324) 1225s # Testing script Narb (code 1315009122) 1225s # Testing script Perm (code 1348825709) 1225s # Testing script Hmng (code 1215131239) 1225s # Testing script Palm (code 1348562029) 1225s # Testing script Pauc (code 1348564323) 1225s # Testing script Phlp (code 1349020784) 1225s # Testing script Sidd (code 1399415908) 1225s # Testing script Tirh (code 1416196712) 1225s # Testing script Wara (code 1466004065) 1225s # Testing script Ahom (code 1097363309) 1225s # Testing script Hluw (code 1215067511) 1225s # Testing script Hatr (code 1214346354) 1225s # Testing script Mult (code 1299541108) 1225s # Testing script Hung (code 1215655527) 1225s # Testing script Sgnw (code 1399287415) 1225s # Testing script Adlm (code 1097100397) 1225s # Testing script Bhks (code 1114139507) 1225s # Testing script Marc (code 1298231907) 1225s # Testing script Newa (code 1315272545) 1225s # Testing script Osge (code 1332963173) 1225s # Testing script Tang (code 1415671399) 1225s # Testing script Gonm (code 1198485101) 1225s # Testing script Nshu (code 1316186229) 1225s # Testing script Soyo (code 1399814511) 1225s # Testing script Zanb (code 1516334690) 1225s # Testing script Dogr (code 1148151666) 1225s # Testing script Gong (code 1198485095) 1225s # Testing script Rohg (code 1383032935) 1225s # Testing script Maka (code 1298230113) 1225s # Testing script Medf (code 1298490470) 1225s # Testing script Sogo (code 1399809903) 1225s # Testing script Sogd (code 1399809892) 1225s # Testing script Elym (code 1164736877) 1225s # Testing script Nand (code 1315008100) 1225s # Testing script Hmnp (code 1215131248) 1225s # Testing script Wcho (code 1466132591) 1225s # Testing script Chrs (code 1130918515) 1225s # Testing script Diak (code 1147756907) 1225s # Testing script Kits (code 1265202291) 1225s # Testing script Yezi (code 1499822697) 1225s # Testing script Cpmn (code 1131441518) 1225s # Testing script Ougr (code 1333094258) 1225s # Testing script Tnsa (code 1416524641) 1225s # Testing script Toto (code 1416590447) 1225s # Testing script Vith (code 1449751656) 1225s # Testing script Kawi (code 1264678761) 1225s # Testing script Nagm (code 1315006317) 1225s ok 21 /unicode/iso15924 1225s ok 22 /unicode/lower 1225s ok 23 /unicode/mark 1225s ok 24 /unicode/mirror 1225s ok 25 /unicode/print 1225s ok 26 /unicode/punctuation 1225s ok 27 /unicode/script 1225s ok 28 /unicode/space 1225s ok 29 /unicode/strdown 1225s ok 30 /unicode/strup 1225s ok 31 /unicode/turkish-strupdown 1225s ok 32 /unicode/title 1225s ok 33 /unicode/upper 1225s ok 34 /unicode/validate 1225s ok 35 /unicode/wide 1225s ok 36 /unicode/xdigit 1225s ok 37 /unicode/xdigit-value 1225s ok 38 /unicode/zero-width 1225s ok 39 /unicode/normalize 1225s # End of unicode tests 1225s ok - glib/unicode.test 1225s # Running test: glib/logging.test 1225s TAP version 14 1225s # random seed: R02Sb64ebd5aa36de8e953fbe37ff79dbd5d 1225s 1..17 1225s # Start of logging tests 1225s ok 1 /logging/default-handler 1225s # slow test /logging/default-handler executed in 0.66 secs 1225s ok 2 /logging/warnings 1225s ok 3 /logging/fatal-log-mask 1225s # bu-DEBUG: message 1225s # ba-DEBUG: message 1225s # ba-INFO: message 1225s ok 4 /logging/set-handler 1225s ok 5 /logging/print-handler 1225s ok 6 /logging/printerr-handler 1225s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1225s # The Log Message Handler 1225s # 1225s # The Good Fail Message Handler 1225s # 1225s ok 7 /logging/653052 1225s ok 8 /logging/gibberish 1225s # Start of default-handler tests 1225s # Start of subprocess tests 1225s # End of subprocess tests 1225s # End of default-handler tests 1225s # End of logging tests 1225s # Start of structured-logging tests 1225s ok 9 /structured-logging/no-state 1225s ok 10 /structured-logging/some-state 1225s ok 11 /structured-logging/robustness 1225s ok 12 /structured-logging/roundtrip1 1225s ok 13 /structured-logging/roundtrip2 1225s ok 14 /structured-logging/roundtrip3 1225s ok 15 /structured-logging/variant1 1225s ok 16 /structured-logging/variant2 1225s ok 17 /structured-logging/set-writer-func-twice 1225s # End of structured-logging tests 1225s ok - glib/logging.test 1225s # Running test: glib/unicode-normalize.test 1225s TAP version 14 1225s # random seed: R02S3cf31b51939c32d4c947b8972a4715b7 1225s 1..3 1225s # Start of unicode tests 1225s # Processing Part0 # Specific cases 1225s # Processing Part1 # Character by character test 1225s # Processing Part2 # Canonical Order Test 1225s # Processing Part3 # PRI #29 Test 1225s ok 1 /unicode/normalize 1225s # Invalid UTF-8 vector 0 1225s # Invalid UTF-8 vector 1 1225s # Invalid UTF-8 vector 2 1225s # Invalid UTF-8 vector 3 1225s # Invalid UTF-8 vector 4 1225s # Invalid UTF-8 vector 5 1225s # Invalid UTF-8 vector 6 1225s # Invalid UTF-8 vector 7 1225s # Invalid UTF-8 vector 8 1225s # Invalid UTF-8 vector 9 1225s # Invalid UTF-8 vector 10 1225s # Invalid UTF-8 vector 11 1225s # Invalid UTF-8 vector 12 1225s ok 2 /unicode/normalize-invalid 1225s # Start of normalize tests 1225s ok 3 /unicode/normalize/bad-length 1225s # End of normalize tests 1225s # End of unicode tests 1225s ok - glib/unicode-normalize.test 1225s # Running test: glib/performance-threaded.test 1225s Running test "liststore-is-a" 1226s 16859 runs, min/avg/max = 0.058/0.059/0.247 ms 1226s Running test "liststore-interface-peek" 1227s 29981 runs, min/avg/max = 0.032/0.033/0.198 ms 1227s Running test "liststore-interface-peek-same" 1228s # Executing: glib/performance-threaded.test 1228s 30233 runs, min/avg/max = 0.032/0.033/0.181 ms 1228s ok - glib/performance-threaded.test 1228s # Running test: glib/gmenumodel.test 1228s TAP version 14 1228s # random seed: R02Scbccf9b1c8c258b37fc8e2f6df733c97 1228s 1..15 1228s # Start of gmenu tests 1229s ok 1 /gmenu/equality 1229s # slow test /gmenu/equality executed in 0.56 secs 1230s ok 2 /gmenu/random 1230s # slow test /gmenu/random executed in 0.73 secs 1230s ok 3 /gmenu/attributes 1230s ok 4 /gmenu/links 1230s ok 5 /gmenu/mutable 1230s ok 6 /gmenu/convenience 1230s ok 7 /gmenu/menuitem 1230s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1230s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1230s ok 8 /gmenu/input-validation 1230s # Start of dbus tests 1230s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1231s ok 9 /gmenu/dbus/roundtrip 1231s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1231s ok 10 /gmenu/dbus/subscriptions 1232s ok 11 /gmenu/dbus/threaded 1232s # slow test /gmenu/dbus/threaded executed in 0.89 secs 1232s # Start of peer tests 1233s # Executing: glib/gmenumodel.test 1233s ok 12 /gmenu/dbus/peer/roundtrip 1233s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1234s ok 13 /gmenu/dbus/peer/subscriptions 1234s # End of peer tests 1234s # Start of export tests 1234s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1234s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s ok 14 /gmenu/dbus/export/error-handling 1234s # End of export tests 1234s # End of dbus tests 1234s # Start of attributes tests 1234s ok 15 /gmenu/attributes/iterate 1234s # End of attributes tests 1234s # End of gmenu tests 1234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1234s ok - glib/gmenumodel.test 1234s # Running test: glib/simple-proxy.test 1234s TAP version 14 1234s # random seed: R02Sc646586b24420efdc4b4ab9d88f1726f 1234s 1..3 1234s # Start of static-proxy tests 1234s ok 1 /static-proxy/uri 1234s ok 2 /static-proxy/socks 1234s ok 3 /static-proxy/ignore 1234s # End of static-proxy tests 1234s ok - glib/simple-proxy.test 1234s # Running test: glib/gvariant.test 1234s TAP version 14 1234s # random seed: R02S7303ec520a2fb3649f5b9bc7bd33fe21 1234s 1..64 1234s # Start of gvariant tests 1234s ok 1 /gvariant/type 1234s ok 2 /gvariant/typeinfo 1234s ok 3 /gvariant/string 1234s ok 4 /gvariant/utf8 1235s ok 5 /gvariant/containers 1235s # slow test /gvariant/containers executed in 0.76 secs 1235s ok 6 /gvariant/format-strings 1235s ok 7 /gvariant/invalid-varargs 1235s ok 8 /gvariant/varargs 1235s ok 9 /gvariant/valist 1235s ok 10 /gvariant/builder-memory 1235s ok 11 /gvariant/hashing 1235s ok 12 /gvariant/byteswap 1235s ok 13 /gvariant/parser 1235s ok 14 /gvariant/parse-failures 1235s ok 15 /gvariant/parse-positional 1235s ok 16 /gvariant/floating 1235s ok 17 /gvariant/bytestring 1235s ok 18 /gvariant/lookup-value 1235s ok 19 /gvariant/lookup 1235s ok 20 /gvariant/compare 1235s ok 21 /gvariant/equal 1235s ok 22 /gvariant/fixed-array 1235s ok 23 /gvariant/check-format-string 1235s ok 24 /gvariant/checksum-basic 1235s ok 25 /gvariant/checksum-nested 1235s ok 26 /gvariant/gbytes 1235s ok 27 /gvariant/print-context 1235s ok 28 /gvariant/error-quark 1235s ok 29 /gvariant/stack-builder-init 1235s ok 30 /gvariant/stack-dict-init 1235s ok 31 /gvariant/unaligned-construction 1235s # Start of type tests 1235s # Start of string-scan tests 1235s # Start of recursion tests 1235s ok 32 /gvariant/type/string-scan/recursion/tuple 1235s ok 33 /gvariant/type/string-scan/recursion/array 1235s # End of recursion tests 1235s # End of string-scan tests 1235s # End of type tests 1235s # Start of serialiser tests 1235s ok 34 /gvariant/serialiser/maybe 1235s ok 35 /gvariant/serialiser/array 1235s ok 36 /gvariant/serialiser/tuple 1235s ok 37 /gvariant/serialiser/variant 1235s ok 38 /gvariant/serialiser/strings 1235s ok 39 /gvariant/serialiser/byteswap 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1235s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1235s ok 40 /gvariant/serialiser/children 1235s # Start of fuzz tests 1236s ok 41 /gvariant/serialiser/fuzz/1% 1236s ok 42 /gvariant/serialiser/fuzz/5% 1236s ok 43 /gvariant/serialiser/fuzz/9% 1236s ok 44 /gvariant/serialiser/fuzz/13% 1236s ok 45 /gvariant/serialiser/fuzz/17% 1236s # End of fuzz tests 1236s # End of serialiser tests 1236s # Start of varargs tests 1236s # Start of subprocess tests 1236s # End of subprocess tests 1236s # End of varargs tests 1236s # Start of byteswap tests 1236s # /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. 1236s ok 46 /gvariant/byteswap/non-normal-non-aligned 1236s # End of byteswap tests 1236s # Start of parser tests 1236s ok 47 /gvariant/parser/integer-bounds 1236s ok 48 /gvariant/parser/recursion 1236s # Start of recursion tests 1236s ok 49 /gvariant/parser/recursion/typedecls 1236s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1236s # Text form 0: @mmmu 5 1236s # Text form 1: @mmmas ['hello'] 1236s # Text form 2: @mmmu just just nothing 1236s # Text form 3: @mmmas just just nothing 1236s # Text form 4: @mmmu just nothing 1236s # Text form 5: @mmmas just nothing 1236s # Text form 6: @mmmu nothing 1236s # Text form 7: @mmmas nothing 1236s ok 50 /gvariant/parser/recursion/maybes 1236s # End of recursion tests 1236s # End of parser tests 1236s # Start of parse tests 1236s # Start of subprocess tests 1236s # End of subprocess tests 1236s # End of parse tests 1236s # Start of normal-checking tests 1236s ok 51 /gvariant/normal-checking/tuples 1236s ok 52 /gvariant/normal-checking/array-offsets 1236s ok 53 /gvariant/normal-checking/array-offsets2 1236s ok 54 /gvariant/normal-checking/tuple-offsets 1236s ok 55 /gvariant/normal-checking/tuple-offsets2 1236s ok 56 /gvariant/normal-checking/tuple-offsets3 1236s ok 57 /gvariant/normal-checking/tuple-offsets4 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1236s ok 58 /gvariant/normal-checking/tuple-offsets5 1236s ok 59 /gvariant/normal-checking/empty-object-path 1236s # Start of array-offsets tests 1236s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1236s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1236s # End of array-offsets tests 1236s # Start of tuple-offsets tests 1236s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1236s # End of tuple-offsets tests 1236s # End of normal-checking tests 1236s # Start of recursion-limits tests 1236s ok 63 /gvariant/recursion-limits/variant-in-variant 1236s ok 64 /gvariant/recursion-limits/array-in-variant 1236s # End of recursion-limits tests 1236s # End of gvariant tests 1236s ok - glib/gvariant.test 1236s # Running test: glib/gdbus-threading.test 1236s TAP version 14 1236s # random seed: R02Se0ad959b9dccb4019c30bf5cc081c0cf 1236s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1236s ok - glib/gdbus-threading.test 1236s # Running test: glib/gdbus-proxy-well-known-name.test 1236s TAP version 14 1236s # random seed: R02Sde36677c819b9425365be6e3e27069a5 1236s 1..1 1236s # Start of gdbus tests 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_91SD02/gdbus/proxy-well-known-name/.dirs/runtime 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1236s ok 1 /gdbus/proxy-well-known-name 1236s # End of gdbus tests 1236s ok - glib/gdbus-proxy-well-known-name.test 1236s # Running test: glib/bookmarkfile.test 1236s TAP version 14 1236s # random seed: R02S7364329c0a8b49afb8db0d68faeb4138 1236s 1..96 1236s # Start of bookmarks tests 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/load-from-data-dirs/.dirs/runtime 1236s ok 1 /bookmarks/load-from-data-dirs 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/to-file/.dirs/runtime 1236s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_SNYB02/bookmarkfile-test-GKXB02.xbel 1236s # Roundtrip from a valid bookmark file 1236s ok 2 /bookmarks/to-file 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/move-item/.dirs/runtime 1236s ok 3 /bookmarks/move-item 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/corner-cases/.dirs/runtime 1236s ok 4 /bookmarks/corner-cases 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/misc/.dirs/runtime 1236s ok 5 /bookmarks/misc 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/deprecated/.dirs/runtime 1236s ok 6 /bookmarks/deprecated 1236s # Start of parse tests 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-36.xbel/.dirs/runtime 1236s ok 7 /bookmarks/parse/fail-36.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-42.xbel/.dirs/runtime 1236s ok 8 /bookmarks/parse/fail-42.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-38.xbel/.dirs/runtime 1236s ok 9 /bookmarks/parse/fail-38.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-18.xbel/.dirs/runtime 1236s ok 10 /bookmarks/parse/fail-18.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-09.xbel/.dirs/runtime 1236s ok 11 /bookmarks/parse/fail-09.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-20.xbel/.dirs/runtime 1236s ok 12 /bookmarks/parse/fail-20.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-19.xbel/.dirs/runtime 1236s ok 13 /bookmarks/parse/fail-19.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-12.xbel/.dirs/runtime 1236s ok 14 /bookmarks/parse/fail-12.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-16.xbel/.dirs/runtime 1236s ok 15 /bookmarks/parse/fail-16.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-03.xbel/.dirs/runtime 1236s ok 16 /bookmarks/parse/fail-03.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-22.xbel/.dirs/runtime 1236s ok 17 /bookmarks/parse/fail-22.xbel 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-27.xbel/.dirs/runtime 1236s ok 18 /bookmarks/parse/fail-27.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-39.xbel/.dirs/runtime 1237s ok 19 /bookmarks/parse/fail-39.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-41.xbel/.dirs/runtime 1237s ok 20 /bookmarks/parse/fail-41.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-35.xbel/.dirs/runtime 1237s ok 21 /bookmarks/parse/fail-35.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-30.xbel/.dirs/runtime 1237s ok 22 /bookmarks/parse/fail-30.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-21.xbel/.dirs/runtime 1237s ok 23 /bookmarks/parse/fail-21.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-01.xbel/.dirs/runtime 1237s ok 24 /bookmarks/parse/valid-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-14.xbel/.dirs/runtime 1237s ok 25 /bookmarks/parse/fail-14.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-24.xbel/.dirs/runtime 1237s ok 26 /bookmarks/parse/fail-24.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-01.xbel/.dirs/runtime 1237s ok 27 /bookmarks/parse/fail-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-10.xbel/.dirs/runtime 1237s ok 28 /bookmarks/parse/fail-10.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-40.xbel/.dirs/runtime 1237s ok 29 /bookmarks/parse/fail-40.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-32.xbel/.dirs/runtime 1237s ok 30 /bookmarks/parse/fail-32.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-17.xbel/.dirs/runtime 1237s ok 31 /bookmarks/parse/fail-17.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-37.xbel/.dirs/runtime 1237s ok 32 /bookmarks/parse/fail-37.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-28.xbel/.dirs/runtime 1237s ok 33 /bookmarks/parse/fail-28.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-29.xbel/.dirs/runtime 1237s ok 34 /bookmarks/parse/fail-29.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-34.xbel/.dirs/runtime 1237s ok 35 /bookmarks/parse/fail-34.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-33.xbel/.dirs/runtime 1237s ok 36 /bookmarks/parse/fail-33.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-13.xbel/.dirs/runtime 1237s ok 37 /bookmarks/parse/fail-13.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-25.xbel/.dirs/runtime 1237s ok 38 /bookmarks/parse/fail-25.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-06.xbel/.dirs/runtime 1237s ok 39 /bookmarks/parse/fail-06.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-26.xbel/.dirs/runtime 1237s ok 40 /bookmarks/parse/fail-26.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-23.xbel/.dirs/runtime 1237s ok 41 /bookmarks/parse/fail-23.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-15.xbel/.dirs/runtime 1237s ok 42 /bookmarks/parse/fail-15.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-04.xbel/.dirs/runtime 1237s ok 43 /bookmarks/parse/fail-04.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-02.xbel/.dirs/runtime 1237s ok 44 /bookmarks/parse/fail-02.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-31.xbel/.dirs/runtime 1237s ok 45 /bookmarks/parse/fail-31.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-11.xbel/.dirs/runtime 1237s ok 46 /bookmarks/parse/fail-11.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-07.xbel/.dirs/runtime 1237s ok 47 /bookmarks/parse/fail-07.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-08.xbel/.dirs/runtime 1237s ok 48 /bookmarks/parse/fail-08.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/fail-05.xbel/.dirs/runtime 1237s ok 49 /bookmarks/parse/fail-05.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-03.xbel/.dirs/runtime 1237s ok 50 /bookmarks/parse/valid-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/parse/valid-02.xbel/.dirs/runtime 1237s ok 51 /bookmarks/parse/valid-02.xbel 1237s # End of parse tests 1237s # Start of copy tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-36.xbel/.dirs/runtime 1237s ok 52 /bookmarks/copy/fail-36.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-42.xbel/.dirs/runtime 1237s ok 53 /bookmarks/copy/fail-42.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-38.xbel/.dirs/runtime 1237s ok 54 /bookmarks/copy/fail-38.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-18.xbel/.dirs/runtime 1237s ok 55 /bookmarks/copy/fail-18.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-09.xbel/.dirs/runtime 1237s ok 56 /bookmarks/copy/fail-09.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-20.xbel/.dirs/runtime 1237s ok 57 /bookmarks/copy/fail-20.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-19.xbel/.dirs/runtime 1237s ok 58 /bookmarks/copy/fail-19.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-12.xbel/.dirs/runtime 1237s ok 59 /bookmarks/copy/fail-12.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-16.xbel/.dirs/runtime 1237s ok 60 /bookmarks/copy/fail-16.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-03.xbel/.dirs/runtime 1237s ok 61 /bookmarks/copy/fail-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-22.xbel/.dirs/runtime 1237s ok 62 /bookmarks/copy/fail-22.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-27.xbel/.dirs/runtime 1237s ok 63 /bookmarks/copy/fail-27.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-39.xbel/.dirs/runtime 1237s ok 64 /bookmarks/copy/fail-39.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-41.xbel/.dirs/runtime 1237s ok 65 /bookmarks/copy/fail-41.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-35.xbel/.dirs/runtime 1237s ok 66 /bookmarks/copy/fail-35.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-30.xbel/.dirs/runtime 1237s ok 67 /bookmarks/copy/fail-30.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-21.xbel/.dirs/runtime 1237s ok 68 /bookmarks/copy/fail-21.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-01.xbel/.dirs/runtime 1237s ok 69 /bookmarks/copy/valid-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-14.xbel/.dirs/runtime 1237s ok 70 /bookmarks/copy/fail-14.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-24.xbel/.dirs/runtime 1237s ok 71 /bookmarks/copy/fail-24.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-01.xbel/.dirs/runtime 1237s ok 72 /bookmarks/copy/fail-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-10.xbel/.dirs/runtime 1237s ok 73 /bookmarks/copy/fail-10.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-40.xbel/.dirs/runtime 1237s ok 74 /bookmarks/copy/fail-40.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-32.xbel/.dirs/runtime 1237s ok 75 /bookmarks/copy/fail-32.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-17.xbel/.dirs/runtime 1237s ok 76 /bookmarks/copy/fail-17.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-37.xbel/.dirs/runtime 1237s ok 77 /bookmarks/copy/fail-37.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-28.xbel/.dirs/runtime 1237s ok 78 /bookmarks/copy/fail-28.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-29.xbel/.dirs/runtime 1237s ok 79 /bookmarks/copy/fail-29.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-34.xbel/.dirs/runtime 1237s ok 80 /bookmarks/copy/fail-34.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-33.xbel/.dirs/runtime 1237s ok 81 /bookmarks/copy/fail-33.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-13.xbel/.dirs/runtime 1237s ok 82 /bookmarks/copy/fail-13.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-25.xbel/.dirs/runtime 1237s ok 83 /bookmarks/copy/fail-25.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-06.xbel/.dirs/runtime 1237s ok 84 /bookmarks/copy/fail-06.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-26.xbel/.dirs/runtime 1237s ok 85 /bookmarks/copy/fail-26.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-23.xbel/.dirs/runtime 1237s ok 86 /bookmarks/copy/fail-23.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-15.xbel/.dirs/runtime 1237s ok 87 /bookmarks/copy/fail-15.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-04.xbel/.dirs/runtime 1237s ok 88 /bookmarks/copy/fail-04.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-02.xbel/.dirs/runtime 1237s ok 89 /bookmarks/copy/fail-02.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-31.xbel/.dirs/runtime 1237s ok 90 /bookmarks/copy/fail-31.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-11.xbel/.dirs/runtime 1237s ok 91 /bookmarks/copy/fail-11.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-07.xbel/.dirs/runtime 1237s ok 92 /bookmarks/copy/fail-07.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-08.xbel/.dirs/runtime 1237s ok 93 /bookmarks/copy/fail-08.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/fail-05.xbel/.dirs/runtime 1237s ok 94 /bookmarks/copy/fail-05.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-03.xbel/.dirs/runtime 1237s ok 95 /bookmarks/copy/valid-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_SNYB02/bookmarks/copy/valid-02.xbel/.dirs/runtime 1237s ok 96 /bookmarks/copy/valid-02.xbel 1237s # End of copy tests 1237s # End of bookmarks tests 1237s ok - glib/bookmarkfile.test 1237s # Running test: glib/completion.test 1237s TAP version 14 1237s # random seed: R02S7771e98d427799bc097a8e890c9a0f31 1237s 1..1 1237s # Start of completion tests 1237s ok 1 /completion/test-completion 1237s # End of completion tests 1237s ok - glib/completion.test 1237s # Running test: glib/type.test 1237s TAP version 14 1237s # random seed: R02S9b6673dcc4fabe4fb698b6d6faa6d75d 1237s 1..6 1237s # Start of type tests 1237s ok 1 /type/registration-serial 1237s ok 2 /type/interface-prerequisite 1237s ok 3 /type/interface-check 1237s ok 4 /type/next-base 1237s ok 5 /type/is-a 1237s # Invalid types can?t be queried. 1237s # Unclassed types can?t be queried. 1237s ok 6 /type/query 1237s # End of type tests 1237s ok - glib/type.test 1237s # Running test: glib/defaultvalue.test 1237s TAP version 14 1237s # random seed: R02S37f7c3b57b14a53c1c78428eda7c9240 1237s 1..84 1237s # Start of Default Values tests 1237s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1237s ok 2 /Default Values/GAppLaunchContext 1237s ok 3 /Default Values/GApplicationCommandLine 1237s # skipping GApplication:is-remote 1237s ok 4 /Default Values/GApplication 1237s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1237s ok 6 /Default Values/GBindingGroup 1237s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1237s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1237s ok 9 /Default Values/GBytesIcon 1237s ok 10 /Default Values/GCancellable 1237s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1237s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1237s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1237s ok 14 /Default Values/GCredentials 1237s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1237s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1237s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1237s ok 18 /Default Values/GDBusAuthObserver 1237s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1237s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1237s ok 21 /Default Values/GDBusMessage 1237s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1237s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1237s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1237s ok 25 /Default Values/GDBusObjectProxy 1237s ok 26 /Default Values/GDBusObjectSkeleton 1237s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1237s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1237s ok 29 /Default Values/GEmblem 1237s ok 30 /Default Values/GEmblemedIcon 1237s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1237s ok 32 /Default Values/GFileInfo 1237s ok 33 /Default Values/GFileInputStream 1237s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1237s ok 35 /Default Values/GFileOutputStream 1237s ok 36 /Default Values/GFilenameCompleter 1237s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1237s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1237s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1237s ok 40 /Default Values/GInitiallyUnowned 1237s ok 41 /Default Values/GIOModule 1237s ok 42 /Default Values/GListStore 1237s ok 43 /Default Values/GMemoryInputStream 1237s ok 44 /Default Values/GMemoryOutputStream 1237s ok 45 /Default Values/GMenu 1237s ok 46 /Default Values/GMenuItem 1237s ok 47 /Default Values/GMountOperation 1237s ok 48 /Default Values/GNativeSocketAddress 1237s ok 49 /Default Values/GNetworkAddress 1237s ok 50 /Default Values/GNetworkService 1237s ok 51 /Default Values/GNotification 1237s ok 52 /Default Values/GObject 1237s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1237s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1237s # skipping GProxyAddressEnumerator:proxy-resolver 1237s ok 54 /Default Values/GProxyAddressEnumerator 1237s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1237s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1237s ok 57 /Default Values/GSignalGroup 1237s ok 58 /Default Values/GSimpleAction 1237s ok 59 /Default Values/GSimpleActionGroup 1237s ok 60 /Default Values/GSimpleAsyncResult 1237s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1237s ok 62 /Default Values/GSimplePermission 1237s ok 63 /Default Values/GSimpleProxyResolver 1237s # skipping GSocketClient:proxy-resolver 1237s ok 64 /Default Values/GSocketClient 1237s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1237s ok 66 /Default Values/GSocket # SKIP initialization failed 1237s ok 67 /Default Values/GSocketListener 1237s ok 68 /Default Values/GSocketService 1237s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1237s ok 70 /Default Values/GSubprocessLauncher 1237s # GLib-GIO-DEBUG: GTask 0xab61f7f43ff0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1237s ok 71 /Default Values/GTask 1237s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1237s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1237s ok 74 /Default Values/GTestDBus 1237s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1237s ok 76 /Default Values/GThreadedSocketService 1237s ok 77 /Default Values/GTlsInteraction 1237s ok 78 /Default Values/GTlsPassword 1237s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1237s ok 80 /Default Values/GUnixFDList 1237s ok 81 /Default Values/GVfs 1237s ok 82 /Default Values/GVolumeMonitor 1237s ok 83 /Default Values/GZlibCompressor 1237s ok 84 /Default Values/GZlibDecompressor 1237s # End of Default Values tests 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s ok - glib/defaultvalue.test 1237s # Running test: glib/assert-msg-test.py.test 1237s TAP version 13 1237s ok 1 __main__.TestAssertMessage.test_gassert 1237s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1237s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1237s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1237s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1237s # Error: ** 1237s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1237s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1237s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1237s 1..2 1237s ok - glib/assert-msg-test.py.test 1237s # Running test: glib/refcount-macro.test 1237s TAP version 14 1237s # random seed: R02Sf6626a2367602fa641215463ccbb28ba 1237s 1..4 1237s # Start of refcount tests 1237s ok 1 /refcount/grefcount 1237s ok 2 /refcount/gatomicrefcount 1237s # Start of grefcount tests 1237s ok 3 /refcount/grefcount/saturation 1237s # End of grefcount tests 1237s # Start of gatomicrefcount tests 1237s ok 4 /refcount/gatomicrefcount/saturation 1237s # End of gatomicrefcount tests 1237s # End of refcount tests 1237s ok - glib/refcount-macro.test 1237s # Running test: glib/tls-database.test 1237s TAP version 14 1237s # random seed: R02S4589701b2aa0c10cfb815e462f975b53 1237s 1..1 1237s # Start of tls-backend tests 1237s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1237s ok 1 /tls-backend/set-default-database 1237s # End of tls-backend tests 1237s ok - glib/tls-database.test 1237s # Running test: glib/environment.test 1237s TAP version 14 1237s # random seed: R02S9d8318d467088e5157d7a9606514fb71 1237s 1..6 1237s # Start of environ tests 1237s # /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. 1237s ok 1 /environ/listenv 1237s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1237s ok 2 /environ/getenv 1237s ok 3 /environ/setenv 1237s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1237s ok 4 /environ/array 1237s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1237s ok 5 /environ/null 1237s # /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. 1237s ok 6 /environ/case 1237s # End of environ tests 1237s ok - glib/environment.test 1237s # Running test: glib/srvtarget.test 1237s TAP version 14 1237s # random seed: R02S0e7199e1d37366b378f664ec08778281 1237s 1..1 1237s # Start of srvtarget tests 1237s ok 1 /srvtarget/srv-target-ordering 1237s # End of srvtarget tests 1237s ok - glib/srvtarget.test 1237s # Running test: glib/tls-interaction.test 1237s TAP version 14 1237s # random seed: R02Sd016dae8251770d220c8e5ec92b52453 1237s 1..42 1237s # Start of tls-interaction tests 1237s # Start of ask-password tests 1237s # Start of invoke-with-loop tests 1237s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1237s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1237s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1237s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1237s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1237s # End of invoke-with-loop tests 1237s # Start of invoke-without-loop tests 1237s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1237s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1237s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1237s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1237s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1237s # End of invoke-without-loop tests 1237s # Start of invoke-in-loop tests 1237s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1237s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1237s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1237s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1237s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1237s # End of invoke-in-loop tests 1237s # Start of sync tests 1237s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1237s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1237s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1237s # End of sync tests 1237s # Start of async tests 1237s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1237s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1237s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1237s # End of async tests 1237s # End of ask-password tests 1237s # Start of request-certificate tests 1237s # Start of invoke-with-loop tests 1237s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1237s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1237s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1237s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1237s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1237s # End of invoke-with-loop tests 1237s # Start of invoke-without-loop tests 1237s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1237s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1237s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1237s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1237s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1237s # End of invoke-without-loop tests 1237s # Start of invoke-in-loop tests 1237s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1237s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1237s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1237s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1237s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1237s # End of invoke-in-loop tests 1237s # Start of sync tests 1237s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1237s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1237s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1237s # End of sync tests 1237s # Start of async tests 1237s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1237s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1237s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1237s # End of async tests 1237s # End of request-certificate tests 1237s # End of tls-interaction tests 1237s ok - glib/tls-interaction.test 1237s # Running test: glib/g-file-info.test 1237s TAP version 14 1237s # random seed: R02S4049571dd56959d8542808d5feaa828f 1237s 1..6 1237s # Start of g-file-info tests 1237s ok 1 /g-file-info/test_g_file_info 1237s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1237s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1237s ok 2 /g-file-info/xattrs 1237s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1237s ok 3 /g-file-info/set-modified-date-time-precision 1237s # Start of test_g_file_info tests 1237s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1237s ok 4 /g-file-info/test_g_file_info/modification-time 1237s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1237s ok 5 /g-file-info/test_g_file_info/access-time 1237s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1237s ok 6 /g-file-info/test_g_file_info/creation-time 1237s # End of test_g_file_info tests 1237s # End of g-file-info tests 1237s ok - glib/g-file-info.test 1237s # Running test: glib/portal-support-flatpak-none.test 1237s TAP version 14 1237s # random seed: R02S02d97cf345b2db5517bf62e115358945 1237s 1..1 1237s # Start of portal-support tests 1237s # Start of flatpak tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/runtime 1237s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_6HO8Z2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1237s ok 1 /portal-support/flatpak/none 1237s # End of flatpak tests 1237s # End of portal-support tests 1237s ok - glib/portal-support-flatpak-none.test 1237s # Running test: glib/macros-c-99.test 1237s TAP version 14 1237s # random seed: R02S92e8961bdeb76c4dc3a02300b1e4aaf6 1237s 1..4 1237s # Start of C tests 1237s ok 1 /C/standard-99 1237s # End of C tests 1237s # Start of alignof tests 1237s ok 2 /alignof/fallback 1237s # End of alignof tests 1237s # Start of assert tests 1237s ok 3 /assert/static 1237s # End of assert tests 1237s # Start of struct tests 1237s ok 4 /struct/sizeof_member 1237s # End of struct tests 1237s ok - glib/macros-c-99.test 1237s # Running test: glib/mimeapps.test 1237s TAP version 14 1237s # random seed: R02S0589616d9f409f37709ea3ea1a60fa03 1237s 1..7 1237s # Start of appinfo tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1237s ok 1 /appinfo/all 1237s # Start of mime tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DNM8Z2/appinfo/all/.dirs/config to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config 1237s ok 2 /appinfo/mime/api 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config 1237s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DNM8Z2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config 1237s ok 3 /appinfo/mime/default 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config 1237s ok 4 /appinfo/mime/file 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1237s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DNM8Z2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/config 1237s ok 5 /appinfo/mime/scheme-handler 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DNM8Z2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config 1237s ok 6 /appinfo/mime/default-last-used 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1237s # removing '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1237s # creating '/tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1237s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DNM8Z2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_DNM8Z2/appinfo/mime/ignore-nonexisting/.dirs/config 1237s ok 7 /appinfo/mime/ignore-nonexisting 1237s # End of mime tests 1237s # End of appinfo tests 1237s ok - glib/mimeapps.test 1237s # Running test: glib/hmac.test 1237s TAP version 14 1237s # random seed: R02S3777aea3a29a41bab3bda03f3b3185a0 1237s 1..37 1237s # Start of hmac tests 1237s ok 1 /hmac/sha1-1 1237s ok 2 /hmac/sha1-2 1237s ok 3 /hmac/sha1-3 1237s ok 4 /hmac/sha1-4 1237s ok 5 /hmac/sha1-5 1237s ok 6 /hmac/sha1-6 1237s ok 7 /hmac/sha1-7 1237s ok 8 /hmac/sha256-1 1237s ok 9 /hmac/sha256-2 1237s ok 10 /hmac/sha256-3 1237s ok 11 /hmac/sha256-4 1237s ok 12 /hmac/sha256-5 1237s ok 13 /hmac/sha256-6 1237s ok 14 /hmac/sha384-1 1237s ok 15 /hmac/sha384-2 1237s ok 16 /hmac/sha384-3 1237s ok 17 /hmac/sha384-4 1237s ok 18 /hmac/sha384-5 1237s ok 19 /hmac/sha384-6 1237s ok 20 /hmac/sha512-1 1237s ok 21 /hmac/sha512-2 1237s ok 22 /hmac/sha512-3 1237s ok 23 /hmac/sha512-4 1237s ok 24 /hmac/sha512-5 1237s ok 25 /hmac/sha512-6 1237s ok 26 /hmac/md5-1 1237s ok 27 /hmac/md5-2 1237s ok 28 /hmac/md5-3 1237s ok 29 /hmac/md5-4 1237s ok 30 /hmac/md5-5 1237s ok 31 /hmac/md5-6 1237s ok 32 /hmac/md5-7 1237s ok 33 /hmac/ref-unref 1237s ok 34 /hmac/copy 1237s ok 35 /hmac/for-data 1237s ok 36 /hmac/for-string 1237s ok 37 /hmac/for-bytes 1237s # End of hmac tests 1237s ok - glib/hmac.test 1237s # Running test: glib/charset.test 1237s TAP version 14 1237s # random seed: R02Sbe4452358490fdb25c4d613254baa79e 1237s 1..2 1237s # Start of charset tests 1237s # Test 0 1237s # Test 1 1237s # Test 2 1237s # Test 3 1237s ok 1 /charset/language_names_with_category 1237s ok 2 /charset/language_names_with_category_async 1237s # End of charset tests 1237s ok - glib/charset.test 1237s # Running test: glib/flags.test 1237s TAP version 14 1237s # random seed: R02S2b16db0461438d25b014cc8417ec9c2f 1237s 1..1 1237s # Start of gobject tests 1237s # Start of flags tests 1237s ok 1 /gobject/flags/validate 1237s # End of flags tests 1237s # End of gobject tests 1237s ok - glib/flags.test 1237s # Running test: glib/throws.test 1237s TAP version 14 1237s # random seed: R02S30aec96d6999c356977b6c821c1dc264 1237s 1..3 1237s # Start of throws tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RU35Z2/throws/invoke-gerror/.dirs/runtime 1237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1237s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1237s ok 1 /throws/invoke-gerror 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RU35Z2/throws/vfunc-can-throw-gerror/.dirs/runtime 1237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1237s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1237s ok 2 /throws/vfunc-can-throw-gerror 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_RU35Z2/throws/callback-can-throw-gerror/.dirs/runtime 1237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1237s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1237s ok 3 /throws/callback-can-throw-gerror 1237s # End of throws tests 1237s ok - glib/throws.test 1237s # Running test: glib/portal-support-flatpak-gsettings-only.test 1237s TAP version 14 1237s # random seed: R02S35cc0cd3fa9742e54b933737f494e00b 1237s 1..1 1237s # Start of portal-support tests 1237s # Start of flatpak tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/runtime 1237s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_HUX5Z2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1237s ok 1 /portal-support/flatpak/gsettings 1237s # End of flatpak tests 1237s # End of portal-support tests 1237s ok - glib/portal-support-flatpak-gsettings-only.test 1237s # Running test: glib/gdbus-method-invocation.test 1237s TAP version 14 1237s # random seed: R02Saf3cd0259ea50be12b200524107f203f 1237s 1..1 1237s # Start of gdbus tests 1237s # Start of method-invocation tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_NFS5Z2/gdbus/method-invocation/return/.dirs/runtime 1237s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # Calling org.freedesktop.DBus.Properties.Get 1237s # Calling org.freedesktop.DBus.Properties.Get 1237s # Calling org.freedesktop.DBus.Properties.Get 1237s # Calling org.freedesktop.DBus.Properties.Set 1237s # Calling org.freedesktop.DBus.Properties.GetAll 1237s # Calling org.example.Foo.WrongReturnType 1237s # Calling org.example.Foo.GetFDs 1237s # Calling org.example.Foo.GetFDs 1237s # Calling org.example.Foo.ReturnError 1237s # Calling org.example.Foo.CloseBeforeReturning 1237s ok 1 /gdbus/method-invocation/return 1237s # End of method-invocation tests 1237s # End of gdbus tests 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s ok - glib/gdbus-method-invocation.test 1237s # Running test: glib/stream-rw_all.test 1237s TAP version 14 1237s # random seed: R02S02eb032583aa40d3bd9e9b0b5df13bf8 1237s 1..3 1237s # Start of stream tests 1237s # Start of read_all_async tests 1237s ok 1 /stream/read_all_async/memory 1237s # End of read_all_async tests 1237s # Start of write_all_async tests 1237s ok 2 /stream/write_all_async/memory 1237s # End of write_all_async tests 1237s # Start of read_write_all_async tests 1237s ok 3 /stream/read_write_all_async/pipe 1237s # End of read_write_all_async tests 1237s # End of stream tests 1237s ok - glib/stream-rw_all.test 1237s # Running test: glib/spawn-path-search.test 1237s TAP version 14 1237s # random seed: R02Sce4d643840bc9417ffc33b659215ba18 1237s 1..7 1237s # Start of spawn tests 1237s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1237s # 1237s # this is spawn-test-helper from glib/tests 1237s # 1237s ok 1 /spawn/do-not-search 1237s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1237s # 1237s # this is spawn-test-helper from path-test-subdir 1237s # 1237s ok 2 /spawn/search-path 1237s # /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. 1237s # 1237s # this is spawn-test-helper from path-test-subdir 1237s # 1237s ok 3 /spawn/search-path-from-envp 1237s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1237s # 1237s # this is spawn-test-helper from path-test-subdir 1237s # 1237s ok 4 /spawn/search-path-ambiguous 1237s # 1237s # this is spawn-test-helper from path-test-subdir 1237s # 1237s ok 5 /spawn/search-path-heap-allocation 1237s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1237s # 1237s # this is spawn-test-helper from glib/tests 1237s # 1237s ok 6 /spawn/search-path-fallback-in-environ 1237s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1237s # 1237s # this is spawn-test-helper from glib/tests 1237s # 1237s ok 7 /spawn/search-path-fallback-in-envp 1237s # End of spawn tests 1237s ok - glib/spawn-path-search.test 1237s # Running test: glib/test-printf.test 1237s TAP version 14 1237s # random seed: R02Sdacdd4855dbfe6e16bb63058ca9d0015 1237s 1..22 1237s # Start of snprintf tests 1237s ok 1 /snprintf/retval-and-trunc 1237s ok 2 /snprintf/%d 1237s ok 3 /snprintf/%d-invalid 1237s ok 4 /snprintf/%o 1237s ok 5 /snprintf/%u 1237s ok 6 /snprintf/%x 1237s ok 7 /snprintf/%X 1237s ok 8 /snprintf/%f 1237s ok 9 /snprintf/%e 1237s ok 10 /snprintf/%c 1237s ok 11 /snprintf/%s 1237s ok 12 /snprintf/%n 1237s ok 13 /snprintf/test-percent 1237s ok 14 /snprintf/test-positional-params 1237s ok 15 /snprintf/test-64bit 1237s # End of snprintf tests 1237s # Start of printf tests 1237s ok 16 /printf/test-percent 1237s ok 17 /printf/test-positional-params 1237s ok 18 /printf/test-64bit 1237s # Start of test-64bit tests 1237s # Start of subprocess tests 1237s # End of subprocess tests 1237s # End of test-64bit tests 1237s # End of printf tests 1237s # Start of sprintf tests 1237s ok 19 /sprintf/test-positional-params 1237s ok 20 /sprintf/upper-bound 1237s # End of sprintf tests 1237s # Start of vasprintf tests 1237s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1237s ok 21 /vasprintf/invalid-format-placeholder 1237s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1237s ok 22 /vasprintf/invalid-wide-string 1237s # End of vasprintf tests 1237s ok - glib/test-printf.test 1237s # Running test: glib/mainloop.test 1237s TAP version 14 1237s # random seed: R02S5e466c02c851566208918184d2f59cb9 1237s 1..45 1237s # Start of maincontext tests 1237s ok 1 /maincontext/basic 1237s # Add same-priority sources: 26 1237s # Find each source: 2 1237s # Remove in random order: 39 1237s ok 2 /maincontext/nsources_same_priority 1237s # Add different-priority sources: 18 1237s # Find each source: 2 1237s # Remove in random order: 43 1237s ok 3 /maincontext/nsources_different_priority 1238s # Add sources from threads: 227 1238s # Remove sources from threads: 42 1238s ok 4 /maincontext/nsources_threadpool 1238s ok 5 /maincontext/source_finalization 1238s # /maincontext/idle-once summary: Test g_idle_add_once() works 1238s ok 6 /maincontext/idle-once 1238s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1238s ok 7 /maincontext/timeout-once 1238s # Start of source_finalization_from_source tests 1238s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 8 /maincontext/source_finalization_from_source/0 1238s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 9 /maincontext/source_finalization_from_source/1 1238s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 10 /maincontext/source_finalization_from_source/2 1238s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 11 /maincontext/source_finalization_from_source/3 1238s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 12 /maincontext/source_finalization_from_source/4 1238s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 13 /maincontext/source_finalization_from_source/5 1238s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 14 /maincontext/source_finalization_from_source/6 1238s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 15 /maincontext/source_finalization_from_source/7 1238s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 16 /maincontext/source_finalization_from_source/8 1238s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1238s ok 17 /maincontext/source_finalization_from_source/9 1238s # End of source_finalization_from_source tests 1238s # Start of source_finalization_from_dispatch tests 1238s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1238s ok 18 /maincontext/source_finalization_from_dispatch/0 1238s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1238s ok 19 /maincontext/source_finalization_from_dispatch/1 1238s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1238s ok 20 /maincontext/source_finalization_from_dispatch/2 1238s # End of source_finalization_from_dispatch tests 1238s # End of maincontext tests 1238s # Start of mainloop tests 1238s ok 21 /mainloop/basic 1238s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1238s ok 23 /mainloop/priorities 1238s # Executing: glib/mainloop.test 1238s ok 24 /mainloop/invoke 1238s # slow test /mainloop/invoke executed in 0.50 secs 1239s ok 25 /mainloop/child_sources 1239s # slow test /mainloop/child_sources executed in 1.19 secs 1242s ok 26 /mainloop/recursive_child_sources 1242s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 1242s ok 27 /mainloop/recursive_loop_child_sources 1242s ok 28 /mainloop/swapping_child_sources 1242s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1242s ok 29 /mainloop/blocked_child_sources 1243s ok 30 /mainloop/source_time 1243s # slow test /mainloop/source_time executed in 1.00 secs 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1243s ok 31 /mainloop/overflow 1243s # Executing: glib/mainloop.test 1243s ok 32 /mainloop/ready-time 1243s # slow test /mainloop/ready-time executed in 0.50 secs 1243s ok 33 /mainloop/wakeup 1243s ok 34 /mainloop/remove-invalid 1243s ok 35 /mainloop/unref-while-pending 1244s ok 36 /mainloop/unix-fd 1244s # slow test /mainloop/unix-fd executed in 0.64 secs 1244s ok 37 /mainloop/unix-fd-source 1244s ok 38 /mainloop/source-unix-fd-api 1244s ok 39 /mainloop/wait 1244s ok 40 /mainloop/unix-file-poll 1244s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1244s ok 41 /mainloop/unix-fd-priority 1244s ok 42 /mainloop/nfds 1244s ok 43 /mainloop/steal-fd 1244s # Start of ownerless-polling tests 1244s ok 44 /mainloop/ownerless-polling/attach-first 1244s ok 45 /mainloop/ownerless-polling/pop-first 1244s # End of ownerless-polling tests 1244s # End of mainloop tests 1244s ok - glib/mainloop.test 1244s # Running test: glib/gdatetime.test 1244s TAP version 14 1244s # random seed: R02Sb74fdce974ddd45d49841bd51ee4ab06 1244s 1..68 1244s # Start of GDateTime tests 1244s # Bug Reference: http://bugzilla.gnome.org/702674 1244s ok 1 /GDateTime/invalid 1244s ok 2 /GDateTime/add_days 1244s ok 3 /GDateTime/add_full 1244s ok 4 /GDateTime/add_hours 1244s ok 5 /GDateTime/add_minutes 1244s ok 6 /GDateTime/add_months 1244s ok 7 /GDateTime/add_seconds 1244s ok 8 /GDateTime/add_weeks 1244s ok 9 /GDateTime/add_years 1244s ok 10 /GDateTime/compare 1244s ok 11 /GDateTime/diff 1244s ok 12 /GDateTime/equal 1244s ok 13 /GDateTime/get_day_of_week 1244s ok 14 /GDateTime/get_day_of_month 1244s ok 15 /GDateTime/get_day_of_year 1244s ok 16 /GDateTime/get_hour 1244s ok 17 /GDateTime/get_microsecond 1244s ok 18 /GDateTime/get_minute 1244s ok 19 /GDateTime/get_month 1244s ok 20 /GDateTime/get_second 1244s ok 21 /GDateTime/get_utc_offset 1244s ok 22 /GDateTime/get_year 1244s ok 23 /GDateTime/hash 1244s ok 24 /GDateTime/new_from_unix 1244s ok 25 /GDateTime/new_from_unix_utc 1244s ok 26 /GDateTime/new_from_timeval 1244s ok 27 /GDateTime/new_from_timeval_utc 1244s ok 28 /GDateTime/new_from_iso8601 1244s ok 29 /GDateTime/new_full 1244s ok 30 /GDateTime/now 1244s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1244s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1244s # %a -> expected: Sat 1244s # %a -> actual: Sat 1244s # %A -> expected: Saturday 1244s # %A -> actual: Saturday 1244s # %b -> expected: Oct 1244s # %b -> actual: Oct 1244s # %B -> expected: October 1244s # %B -> actual: October 1244s # %d -> expected: 24 1244s # %d -> actual: 24 1244s # %d -> expected: 01 1244s # %d -> actual: 01 1244s # %e -> expected: 24 1244s # %e -> actual: 24 1244s # %e -> expected:  1 1244s # %e -> actual:  1 1244s # %f -> expected: 001000 1244s # %f -> actual: 001000 1244s # %h -> expected: Oct 1244s # %h -> actual: Oct 1244s # %H -> expected: 00 1244s # %H -> actual: 00 1244s # %H -> expected: 15 1244s # %H -> actual: 15 1244s # %I -> expected: 12 1244s # %I -> actual: 12 1244s # %I -> expected: 12 1244s # %I -> actual: 12 1244s # %I -> expected: 03 1244s # %I -> actual: 03 1244s # %j -> expected: 297 1244s # %j -> actual: 297 1244s # %k -> expected:  0 1244s # %k -> actual:  0 1244s # %k -> expected: 13 1244s # %k -> actual: 13 1244s # %l -> expected: 12 1244s # %l -> actual: 12 1244s # %I -> expected: 12 1244s # %I -> actual: 12 1244s # %l -> expected:  1 1244s # %l -> actual:  1 1244s # %l -> expected: 10 1244s # %l -> actual: 10 1244s # %m -> expected: 10 1244s # %m -> actual: 10 1244s # %M -> expected: 00 1244s # %M -> actual: 00 1244s # %p -> expected: AM 1244s # %p -> actual: AM 1244s # %p -> expected: PM 1244s # %p -> actual: PM 1244s # %P -> expected: am 1244s # %P -> actual: am 1244s # %P -> expected: pm 1244s # %P -> actual: pm 1244s # %r -> expected: 12:00:00 AM 1244s # %r -> actual: 12:00:00 AM 1244s # %r -> expected: 01:13:13 PM 1244s # %r -> actual: 01:13:13 PM 1244s # %R -> expected: 00:00 1244s # %R -> actual: 00:00 1244s # %R -> expected: 13:13 1244s # %R -> actual: 13:13 1244s # %S -> expected: 00 1244s # %S -> actual: 00 1244s # %t -> expected: 1244s # %t -> actual: 1244s # %u -> expected: 6 1244s # %u -> actual: 6 1244s # %x -> expected: 10/24/09 1244s # %x -> actual: 10/24/09 1244s # %X -> expected: 00:00:00 1244s # %X -> actual: 00:00:00 1244s # %X -> expected: 13:14:15 1244s # %X -> actual: 13:14:15 1244s # %y -> expected: 09 1244s # %y -> actual: 09 1244s # %Y -> expected: 2009 1244s # %Y -> actual: 2009 1244s # %% -> expected: % 1244s # %% -> actual: % 1244s # % -> expected: 1244s # % -> actual: 1244s # %9 -> expected: (null) 1244s # %9 -> actual: (null) 1244s # %Z -> expected: UTC 1244s # %Z -> actual: UTC 1244s ok 32 /GDateTime/printf 1244s # %a -> expected: ÅÚ 1244s # %a -> actual: ÅÚ 1244s # %A -> expected: ÅÚÍËÆü 1244s # %A -> actual: ÅÚÍËÆü 1244s # %b -> expected: 10·î 1244s # %b -> actual: 10·î 1244s # %B -> expected: 10·î 1244s # %B -> actual: 10·î 1244s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1244s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1244s # %C -> expected: 20 1244s # %C -> actual: 20 1244s # %d -> expected: 24 1244s # %d -> actual: 24 1244s # %d -> expected: 01 1244s # %d -> actual: 01 1244s # %e -> expected: 24 1244s # %e -> actual: 24 1244s # %h -> expected: 10·î 1244s # %h -> actual: 10·î 1244s # %H -> expected: 00 1244s # %H -> actual: 00 1244s # %H -> expected: 15 1244s # %H -> actual: 15 1244s # %I -> expected: 12 1244s # %I -> actual: 12 1244s # %I -> expected: 12 1244s # %I -> actual: 12 1244s # %I -> expected: 03 1244s # %I -> actual: 03 1244s # %j -> expected: 297 1244s # %j -> actual: 297 1244s # %k -> expected: ?0 1244s # %k -> actual: ?0 1244s # %k -> expected: 13 1244s # %k -> actual: 13 1244s # %l -> expected: 12 1244s # %l -> actual: 12 1244s # %I -> expected: 12 1244s # %I -> actual: 12 1244s # %l -> expected: ?1 1244s # %l -> actual: ?1 1244s # %l -> expected: 10 1244s # %l -> actual: 10 1244s # %m -> expected: 10 1244s # %m -> actual: 10 1244s # %M -> expected: 00 1244s # %M -> actual: 00 1244s # %p -> expected: ¸áÁ° 1244s # %p -> actual: ¸áÁ° 1244s # %p -> expected: ¸á¸å 1244s # %p -> actual: ¸á¸å 1244s # %P -> expected: ¸áÁ° 1244s # %P -> actual: ¸áÁ° 1244s # %P -> expected: ¸á¸å 1244s # %P -> actual: ¸á¸å 1244s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1244s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1244s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1244s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1244s # %R -> expected: 00:00 1244s # %R -> actual: 00:00 1244s # %R -> expected: 13:13 1244s # %R -> actual: 13:13 1244s # %S -> expected: 00 1244s # %S -> actual: 00 1244s # %t -> expected: 1244s # %t -> actual: 1244s # %u -> expected: 6 1244s # %u -> actual: 6 1244s # %x -> expected: 2009ǯ10·î24Æü 1244s # %x -> actual: 2009ǯ10·î24Æü 1244s # %X -> expected: 00»þ00ʬ00Éà 1244s # %X -> actual: 00»þ00ʬ00Éà 1244s # %X -> expected: 13»þ14ʬ15Éà 1244s # %X -> actual: 13»þ14ʬ15Éà 1244s # %y -> expected: 09 1244s # %y -> actual: 09 1244s # %Y -> expected: 2009 1244s # %Y -> actual: 2009 1244s # %% -> expected: % 1244s # %% -> actual: % 1244s # % -> expected: 1244s # % -> actual: 1244s # %9 -> expected: (null) 1244s # %9 -> actual: (null) 1244s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1244s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1244s # %EC -> expected: Ê¿À® 1244s # %EC -> actual: Ê¿À® 1244s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1244s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1244s # %EX -> expected: 00»þ00ʬ00Éà 1244s # %EX -> actual: 00»þ00ʬ00Éà 1244s # %Ey -> expected: 21 1244s # %Ey -> actual: 21 1244s # %EY -> expected: Ê¿À®21ǯ 1244s # %EY -> actual: Ê¿À®21ǯ 1244s ok 33 /GDateTime/non_utf8_printf 1244s # ???? -> expected: ???? 1244s # ???? -> actual: ???? 1244s # %H?%M -> expected: 23?15 1244s # %H?%M -> actual: 23?15 1244s # %H?%M -> expected: 23?15 1244s # %H?%M -> actual: 23?15 1244s ok 34 /GDateTime/format_unrepresentable 1244s ok 35 /GDateTime/format_iso8601 1244s ok 36 /GDateTime/strftime 1244s # %d -> expected: 01 1244s # %d -> actual: 01 1244s # %_d -> expected: 1 1244s # %_d -> actual: 1 1244s # %-d -> expected: 1 1244s # %-d -> actual: 1 1244s # %0d -> expected: 01 1244s # %0d -> actual: 01 1244s # %d -> expected: 21 1244s # %d -> actual: 21 1244s # %_d -> expected: 21 1244s # %_d -> actual: 21 1244s # %-d -> expected: 21 1244s # %-d -> actual: 21 1244s # %0d -> expected: 21 1244s # %0d -> actual: 21 1244s # %e -> expected:  1 1244s # %e -> actual:  1 1244s # %_e -> expected: 1 1244s # %_e -> actual: 1 1244s # %-e -> expected: 1 1244s # %-e -> actual: 1 1244s # %0e -> expected: 01 1244s # %0e -> actual: 01 1244s # %e -> expected: 21 1244s # %e -> actual: 21 1244s # %_e -> expected: 21 1244s # %_e -> actual: 21 1244s # %-e -> expected: 21 1244s # %-e -> actual: 21 1244s # %0e -> expected: 21 1244s # %0e -> actual: 21 1244s # %a -> expected: Thu 1244s # %a -> actual: Thu 1244s # %^a -> expected: THU 1244s # %^a -> actual: THU 1244s # %#a -> expected: THU 1244s # %#a -> actual: THU 1244s # %A -> expected: Thursday 1244s # %A -> actual: Thursday 1244s # %^A -> expected: THURSDAY 1244s # %^A -> actual: THURSDAY 1244s # %#A -> expected: THURSDAY 1244s # %#A -> actual: THURSDAY 1244s # %b -> expected: Jan 1244s # %b -> actual: Jan 1244s # %^b -> expected: JAN 1244s # %^b -> actual: JAN 1244s # %#b -> expected: JAN 1244s # %#b -> actual: JAN 1244s # %B -> expected: January 1244s # %B -> actual: January 1244s # %^B -> expected: JANUARY 1244s # %^B -> actual: JANUARY 1244s # %#B -> expected: JANUARY 1244s # %#B -> actual: JANUARY 1244s # %h -> expected: Jan 1244s # %h -> actual: Jan 1244s # %^h -> expected: JAN 1244s # %^h -> actual: JAN 1244s # %#h -> expected: JAN 1244s # %#h -> actual: JAN 1244s # %Z -> expected: UTC 1244s # %Z -> actual: UTC 1244s # %^Z -> expected: UTC 1244s # %^Z -> actual: UTC 1244s # %#Z -> expected: utc 1244s # %#Z -> actual: utc 1244s # %H -> expected: 01 1244s # %H -> actual: 01 1244s # %_H -> expected: 1 1244s # %_H -> actual: 1 1244s # %-H -> expected: 1 1244s # %-H -> actual: 1 1244s # %0H -> expected: 01 1244s # %0H -> actual: 01 1244s # %H -> expected: 21 1244s # %H -> actual: 21 1244s # %_H -> expected: 21 1244s # %_H -> actual: 21 1244s # %-H -> expected: 21 1244s # %-H -> actual: 21 1244s # %0H -> expected: 21 1244s # %0H -> actual: 21 1244s # %I -> expected: 01 1244s # %I -> actual: 01 1244s # %_I -> expected: 1 1244s # %_I -> actual: 1 1244s # %-I -> expected: 1 1244s # %-I -> actual: 1 1244s # %0I -> expected: 01 1244s # %0I -> actual: 01 1244s # %I -> expected: 11 1244s # %I -> actual: 11 1244s # %_I -> expected: 11 1244s # %_I -> actual: 11 1244s # %-I -> expected: 11 1244s # %-I -> actual: 11 1244s # %0I -> expected: 11 1244s # %0I -> actual: 11 1244s # %k -> expected:  1 1244s # %k -> actual:  1 1244s # %_k -> expected: 1 1244s # %_k -> actual: 1 1244s # %-k -> expected: 1 1244s # %-k -> actual: 1 1244s # %0k -> expected: 01 1244s # %0k -> actual: 01 1244s # %l -> expected:  1 1244s # %l -> actual:  1 1244s # %_l -> expected: 1 1244s # %_l -> actual: 1 1244s # %-l -> expected: 1 1244s # %-l -> actual: 1 1244s # %0l -> expected: 01 1244s # %0l -> actual: 01 1244s # %l -> expected: 11 1244s # %l -> actual: 11 1244s # %_l -> expected: 11 1244s # %_l -> actual: 11 1244s # %-l -> expected: 11 1244s # %-l -> actual: 11 1244s # %0l -> expected: 11 1244s # %0l -> actual: 11 1244s # %p -> expected: AM 1244s # %p -> actual: AM 1244s # %^p -> expected: AM 1244s # %^p -> actual: AM 1244s # %#p -> expected: am 1244s # %#p -> actual: am 1244s # %P -> expected: am 1244s # %P -> actual: am 1244s # %^P -> expected: AM 1244s # %^P -> actual: AM 1244s # %#P -> expected: am 1244s # %#P -> actual: am 1244s # %OH -> expected: Û²Û³ 1244s # %OH -> actual: Û²Û³ 1244s # %OI -> expected: Û±Û± 1244s # %OI -> actual: Û±Û± 1244s # %OM -> expected: Û°Û° 1244s # %OM -> actual: Û°Û° 1244s # %Om -> expected: Û°Û· 1244s # %Om -> actual: Û°Û· 1244s # %0Om -> expected: Û°Û· 1244s # %0Om -> actual: Û°Û· 1244s # %-Om -> expected: Û· 1244s # %-Om -> actual: Û· 1244s # %_Om -> expected: Û· 1244s # %_Om -> actual: Û· 1244s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1244s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1244s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1244s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1244s # %C -> expected: 20 1244s # %C -> actual: 20 1244s # %EC -> expected: 20 1244s # %EC -> actual: 20 1244s # %x -> expected: 02/01/09 1244s # %x -> actual: 02/01/09 1244s # %Ex -> expected: 02/01/09 1244s # %Ex -> actual: 02/01/09 1244s # %X -> expected: 01:02:03 1244s # %X -> actual: 01:02:03 1244s # %EX -> expected: 01:02:03 1244s # %EX -> actual: 01:02:03 1244s # %y -> expected: 09 1244s # %y -> actual: 09 1244s # %Ey -> expected: 09 1244s # %Ey -> actual: 09 1244s # %Y -> expected: 2009 1244s # %Y -> actual: 2009 1244s # %EY -> expected: 2009 1244s # %EY -> actual: 2009 1244s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1244s # Bug Reference: http://bugzilla.gnome.org/749206 1244s # %B -> expected: January 1244s # %B -> actual: January 1244s # %OB -> expected: February 1244s # %OB -> actual: February 1244s # %b -> expected: Mar 1244s # %b -> actual: Mar 1244s # %Ob -> expected: Apr 1244s # %Ob -> actual: Apr 1244s # %h -> expected: May 1244s # %h -> actual: May 1244s # %Oh -> expected: Jun 1244s # %Oh -> actual: Jun 1244s # %B -> expected: Juli 1244s # %B -> actual: Juli 1244s # %OB -> expected: August 1244s # %OB -> actual: August 1244s # %b -> expected: Sep 1244s # %b -> actual: Sep 1244s # %Ob -> expected: Okt 1244s # %Ob -> actual: Okt 1244s # %h -> expected: Nov 1244s # %h -> actual: Nov 1244s # %Oh -> expected: Dez 1244s # %Oh -> actual: Dez 1244s # %B -> expected: enero 1244s # %B -> actual: enero 1244s # %OB -> expected: febrero 1244s # %OB -> actual: febrero 1244s # %b -> expected: mar 1244s # %b -> actual: mar 1244s # %Ob -> expected: abr 1244s # %Ob -> actual: abr 1244s # %h -> expected: may 1244s # %h -> actual: may 1244s # %Oh -> expected: jun 1244s # %Oh -> actual: jun 1244s # %B -> expected: juillet 1244s # %B -> actual: juillet 1244s # %OB -> expected: août 1244s # %OB -> actual: août 1244s # %b -> expected: sept. 1244s # %b -> actual: sept. 1244s # %Ob -> expected: oct. 1244s # %Ob -> actual: oct. 1244s # %h -> expected: nov. 1244s # %h -> actual: nov. 1244s # %Oh -> expected: déc. 1244s # %Oh -> actual: déc. 1244s # %B -> expected: ΙανουαÏίου 1244s # %B -> actual: ΙανουαÏίου 1244s # %B -> expected: ΦεβÏουαÏίου 1244s # %B -> actual: ΦεβÏουαÏίου 1244s # %B -> expected: ΜαÏτίου 1244s # %B -> actual: ΜαÏτίου 1244s # %OB -> expected: ΑπÏίλιος 1244s # %OB -> actual: ΑπÏίλιος 1244s # %OB -> expected: Μάιος 1244s # %OB -> actual: Μάιος 1244s # %OB -> expected: ΙοÏνιος 1244s # %OB -> actual: ΙοÏνιος 1244s # %b -> expected: Ιουλ 1244s # %b -> actual: Ιουλ 1244s # %Ob -> expected: ΑÏγ 1244s # %Ob -> actual: ΑÏγ 1244s # %B -> expected: svibnja 1244s # %B -> actual: svibnja 1244s # %B -> expected: lipnja 1244s # %B -> actual: lipnja 1244s # %B -> expected: srpnja 1244s # %B -> actual: srpnja 1244s # %OB -> expected: Kolovoz 1244s # %OB -> actual: kolovoz 1244s # %OB -> expected: Rujan 1244s # %OB -> actual: rujan 1244s # %OB -> expected: Listopad 1244s # %OB -> actual: listopad 1244s # %b -> expected: Stu 1244s # %b -> actual: stu 1244s # %Ob -> expected: Pro 1244s # %Ob -> actual: pro 1244s # %B -> expected: sausio 1244s # %B -> actual: sausio 1244s # %B -> expected: vasario 1244s # %B -> actual: vasario 1244s # %B -> expected: kovo 1244s # %B -> actual: kovo 1244s # %OB -> expected: balandis 1244s # %OB -> actual: balandis 1244s # %OB -> expected: gegužė 1244s # %OB -> actual: gegužė 1244s # %OB -> expected: birželis 1244s # %OB -> actual: birželis 1244s # %b -> expected: liep. 1244s # %b -> actual: liep. 1244s # %Ob -> expected: rugp. 1244s # %Ob -> actual: rugp. 1244s # %B -> expected: maja 1244s # %B -> actual: maja 1244s # %B -> expected: czerwca 1244s # %B -> actual: czerwca 1244s # %B -> expected: lipca 1244s # %B -> actual: lipca 1244s # %OB -> expected: sierpieÅ„ 1244s # %OB -> actual: sierpieÅ„ 1244s # %OB -> expected: wrzesieÅ„ 1244s # %OB -> actual: wrzesieÅ„ 1244s # %OB -> expected: październik 1244s # %OB -> actual: październik 1244s # %b -> expected: lis 1244s # %b -> actual: lis 1244s # %Ob -> expected: gru 1244s # %Ob -> actual: gru 1244s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1244s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1244s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1244s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1244s # %B -> expected: марта 1244s # %B -> actual: марта 1244s # %OB -> expected: Ðпрель 1244s # %OB -> actual: Ðпрель 1244s # %OB -> expected: Май 1244s # %OB -> actual: Май 1244s # %OB -> expected: Июнь 1244s # %OB -> actual: Июнь 1244s # %b -> expected: июл 1244s # %b -> actual: июл 1244s # %Ob -> expected: авг 1244s # %Ob -> actual: авг 1244s # %b -> expected: Ð¼Ð°Ñ 1244s # %b -> actual: Ð¼Ð°Ñ 1244s # %Ob -> expected: май 1244s # %Ob -> actual: май 1244s ok 38 /GDateTime/month_names 1244s ok 39 /GDateTime/to_local 1244s ok 40 /GDateTime/to_unix 1244s ok 41 /GDateTime/to_timeval 1244s ok 42 /GDateTime/to_utc 1244s ok 43 /GDateTime/now_utc 1244s ok 44 /GDateTime/dst 1244s # Bug Reference: http://bugzilla.gnome.org/642935 1244s ok 45 /GDateTime/test_z 1245s ok 46 /GDateTime/test-all-dates 1245s # slow test /GDateTime/test-all-dates executed in 0.95 secs 1245s ok 47 /GDateTime/unix_usec 1245s # Start of new_from_unix tests 1245s # Bug Reference: http://bugzilla.gnome.org/782089 1245s ok 48 /GDateTime/new_from_unix/overflow 1245s # End of new_from_unix tests 1245s # Start of new_from_timeval tests 1245s # Bug Reference: http://bugzilla.gnome.org/782089 1245s # Maximum supported GTimeVal.tv_sec = 253402300799 1245s ok 49 /GDateTime/new_from_timeval/overflow 1245s # End of new_from_timeval tests 1245s # Start of new_from_iso8601 tests 1245s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1245s # Vector 0: 1990-11-01T10:21:17Z 1245s # Vector 1: 19901101T102117Z 1245s # Vector 2: 1970-01-01T00:00:17.12Z 1245s # Vector 3: 1970-01-01T00:00:17.1234Z 1245s # Vector 4: 1970-01-01T00:00:17.123456Z 1245s # Vector 5: 1980-02-22T12:36:00+02:00 1245s # Vector 6: 1990-12-31T15:59:60-08:00 1245s # Vector 7: 1245s # Vector 8: x 1245s # Vector 9: 123x 1245s # Vector 10: 2001-10+x 1245s # Vector 11: 1980-02-22T 1245s # Vector 12: 2001-10-08Tx 1245s # Vector 13: 2001-10-08T10:11x 1245s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1245s # Vector 15: 1980-02-22T10:36:00Zulu 1245s # Vector 16: 2T0+819855292164632335 1245s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1245s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1245s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1245s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1245s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1245s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1245s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1245s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1245s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1245s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1245s # Vector 27: 20180803T140805.446178377+0100 1245s # Vector 28: 21474836480803T140805.446178377+0100 1245s # Vector 29: 20181303T140805.446178377+0100 1245s # Vector 30: 20180003T140805.446178377+0100 1245s # Vector 31: 20180800T140805.446178377+0100 1245s # Vector 32: 20180832T140805.446178377+0100 1245s # Vector 33: 20180803T240805.446178377+0100 1245s # Vector 34: 20180803T146005.446178377+0100 1245s # Vector 35: 20180803T140863.446178377+0100 1245s # Vector 36: 20180803T140805.446178377+10000 1245s # Vector 37: -0005-01-01T00:00:00Z 1245s # Vector 38: 2018-08-06 1245s # Vector 39: 20180803T140805,446178377+0100 1245s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1245s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1245s # Vector 42: 1990-11-01T10:21:17 1245s # Vector 43: 1719W462 407777-07 1245s # Vector 44: 4011090 260528Z 1245s # Vector 45: 0000W011 228214-22 1245s ok 50 /GDateTime/new_from_iso8601/2 1245s # End of new_from_iso8601 tests 1245s # Start of format_mixed tests 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1245s # %b -> expected: mar 1245s # %b -> actual: Mar 1245s # %B -> expected: march 1245s # %B -> actual: March 1245s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1245s # %b -> expected: mar 1245s # %b -> actual: Mar 1245s # %B -> expected: march 1245s # %B -> actual: March 1245s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1245s # %b -> expected: Mär 1245s # %b -> actual: Mär 1245s # %B -> expected: März 1245s # %B -> actual: März 1245s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1245s # %b -> expected: Mär 1245s # %b -> actual: Mär 1245s # %B -> expected: März 1245s # %B -> actual: März 1245s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1245s # End of format_mixed tests 1245s # Start of strftime tests 1245s # %r -> expected: (null) 1245s # %r -> actual: (null) 1245s ok 55 /GDateTime/strftime/error_handling 1245s # End of strftime tests 1245s # Start of eras tests 1245s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1245s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1245s # %EC -> expected: 令和 1245s # %EC -> actual: 令和 1245s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1245s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1245s # %EX -> expected: 00時00分00秒 1245s # %EX -> actual: 00時00分00秒 1245s # %Ey -> expected: 05 1245s # %Ey -> actual: 05 1245s # %EY -> expected: 令和05å¹´ 1245s # %EY -> actual: 令和05å¹´ 1245s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1245s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1245s # %EC -> expected: å¹³æˆ 1245s # %EC -> actual: å¹³æˆ 1245s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1245s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1245s # %EX -> expected: 00時00分00秒 1245s # %EX -> actual: 00時00分00秒 1245s # %Ey -> expected: 31 1245s # %Ey -> actual: 31 1245s # %EY -> expected: å¹³æˆ31å¹´ 1245s # %EY -> actual: å¹³æˆ31å¹´ 1245s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1245s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1245s # %EC -> expected: 昭和 1245s # %EC -> actual: 昭和 1245s # %Ex -> expected: 昭和元年12月25æ—¥ 1245s # %Ex -> actual: 昭和元年12月25æ—¥ 1245s # %EX -> expected: 00時00分00秒 1245s # %EX -> actual: 00時00分00秒 1245s # %Ey -> expected: 01 1245s # %Ey -> actual: 01 1245s # %EY -> expected: 昭和元年 1245s # %EY -> actual: 昭和元年 1245s ok 56 /GDateTime/eras/japan 1245s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1245s # Vector 0: 1245s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1245s # 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å¹´ 1245s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1245s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1245s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 8: + 1245s # Vector 9: +: 1245s # Vector 10: +:: 1245s # Vector 11: +:200 1245s # Vector 12: +:2nonsense 1245s # Vector 13: +:2nonsense: 1245s # Vector 14: +:2: 1245s # Vector 15: +:2:: 1245s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1245s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1245s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1245s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1245s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1245s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1245s # Vector 28: +:2:2020/01/01 1245s # Vector 29: +:2:2020/01/01: 1245s # Vector 30: +:2:2020/01/01:: 1245s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1245s # Vector 32: +:2:2020/01/01:+* 1245s # Vector 33: +:2:2020/01/01:+*: 1245s # Vector 34: +:2:2020/01/01:+*:: 1245s # Vector 35: +:2:2020/01/01:+*:令和 1245s # Vector 36: +:2:2020/01/01:+*:令和: 1245s # Vector 37: +:2:2020/01/01:+*:令和:; 1245s ok 58 /GDateTime/eras/parsing 1245s # End of eras tests 1245s # End of GDateTime tests 1245s # Start of GTimeZone tests 1245s ok 59 /GTimeZone/find-interval 1245s ok 60 /GTimeZone/adjust-time 1245s ok 61 /GTimeZone/no-header 1245s ok 62 /GTimeZone/no-header-identifier 1245s ok 63 /GTimeZone/posix-parse 1245s # Bug Reference: http://bugzilla.gnome.org/697715 1245s ok 64 /GTimeZone/floating-point 1245s # System time zone identifier: Etc/UTC 1245s ok 65 /GTimeZone/identifier 1245s # Vector 0: -158400 1245s # Vector 1: -10000 1245s # Vector 2: -3600 1245s # Vector 3: -61 1245s # Vector 4: -60 1245s # Vector 5: -59 1245s # Vector 6: 0 1245s # Vector 7: 59 1245s # Vector 8: 60 1245s # Vector 9: 61 1245s # Vector 10: 3600 1245s # Vector 11: 10000 1245s # Vector 12: 158400 1245s ok 66 /GTimeZone/new-offset 1245s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1245s ok 67 /GTimeZone/parse-rfc8536 1245s # /GTimeZone/caching summary: GTimeZone instances are cached 1245s ok 68 /GTimeZone/caching 1245s # End of GTimeZone tests 1245s ok - glib/gdatetime.test 1245s # Running test: glib/utf8-validate.test 1245s TAP version 14 1245s # random seed: R02Sef6c874d0ea89ab8e5418a50e68d101b 1245s 1..216 1245s # Start of utf8 tests 1245s # Vector 0 1245s # Vector 1 1245s # Vector 2 1245s # Vector 3 1245s # Vector 4 1245s # Vector 5 1245s # Vector 6 1245s # Vector 7 1245s # Vector 8 1245s # Vector 9 1245s # Vector 10 1245s # Vector 11 1245s # Vector 12 1245s # Vector 13 1245s # Vector 14 1245s # Vector 15 1245s # Vector 16 1245s # Vector 17 1245s # Vector 18 1245s # Vector 19 1245s # Vector 20 1245s # Vector 21 1245s # Vector 22 1245s # Vector 23 1245s # Vector 24 1245s # Vector 25 1245s # Vector 26 1245s # Vector 27 1245s ok 1 /utf8/get-char-validated 1245s # Start of validate tests 1245s ok 2 /utf8/validate/0 1245s ok 3 /utf8/validate/1 1245s ok 4 /utf8/validate/2 1245s ok 5 /utf8/validate/3 1245s ok 6 /utf8/validate/4 1245s ok 7 /utf8/validate/5 1245s ok 8 /utf8/validate/6 1245s ok 9 /utf8/validate/7 1245s ok 10 /utf8/validate/8 1245s ok 11 /utf8/validate/9 1245s ok 12 /utf8/validate/10 1245s ok 13 /utf8/validate/11 1245s ok 14 /utf8/validate/12 1245s ok 15 /utf8/validate/13 1245s ok 16 /utf8/validate/14 1245s ok 17 /utf8/validate/15 1245s ok 18 /utf8/validate/16 1245s ok 19 /utf8/validate/17 1245s ok 20 /utf8/validate/18 1245s ok 21 /utf8/validate/19 1245s ok 22 /utf8/validate/20 1245s ok 23 /utf8/validate/21 1245s ok 24 /utf8/validate/22 1245s ok 25 /utf8/validate/23 1245s ok 26 /utf8/validate/24 1245s ok 27 /utf8/validate/25 1245s ok 28 /utf8/validate/26 1245s ok 29 /utf8/validate/27 1245s ok 30 /utf8/validate/28 1245s ok 31 /utf8/validate/29 1245s ok 32 /utf8/validate/30 1245s ok 33 /utf8/validate/31 1245s ok 34 /utf8/validate/32 1245s ok 35 /utf8/validate/33 1245s ok 36 /utf8/validate/34 1245s ok 37 /utf8/validate/35 1245s ok 38 /utf8/validate/36 1245s ok 39 /utf8/validate/37 1245s ok 40 /utf8/validate/38 1245s ok 41 /utf8/validate/39 1245s ok 42 /utf8/validate/40 1245s ok 43 /utf8/validate/41 1245s ok 44 /utf8/validate/42 1245s ok 45 /utf8/validate/43 1245s ok 46 /utf8/validate/44 1245s ok 47 /utf8/validate/45 1245s ok 48 /utf8/validate/46 1245s ok 49 /utf8/validate/47 1245s ok 50 /utf8/validate/48 1245s ok 51 /utf8/validate/49 1245s ok 52 /utf8/validate/50 1245s ok 53 /utf8/validate/51 1245s ok 54 /utf8/validate/52 1245s ok 55 /utf8/validate/53 1245s ok 56 /utf8/validate/54 1245s ok 57 /utf8/validate/55 1245s ok 58 /utf8/validate/56 1245s ok 59 /utf8/validate/57 1245s ok 60 /utf8/validate/58 1245s ok 61 /utf8/validate/59 1245s ok 62 /utf8/validate/60 1245s ok 63 /utf8/validate/61 1245s ok 64 /utf8/validate/62 1245s ok 65 /utf8/validate/63 1245s ok 66 /utf8/validate/64 1245s ok 67 /utf8/validate/65 1245s ok 68 /utf8/validate/66 1245s ok 69 /utf8/validate/67 1245s ok 70 /utf8/validate/68 1245s ok 71 /utf8/validate/69 1245s ok 72 /utf8/validate/70 1245s ok 73 /utf8/validate/71 1245s ok 74 /utf8/validate/72 1245s ok 75 /utf8/validate/73 1245s ok 76 /utf8/validate/74 1245s ok 77 /utf8/validate/75 1245s ok 78 /utf8/validate/76 1245s ok 79 /utf8/validate/77 1245s ok 80 /utf8/validate/78 1245s ok 81 /utf8/validate/79 1245s ok 82 /utf8/validate/80 1245s ok 83 /utf8/validate/81 1245s ok 84 /utf8/validate/82 1245s ok 85 /utf8/validate/83 1245s ok 86 /utf8/validate/84 1245s ok 87 /utf8/validate/85 1245s ok 88 /utf8/validate/86 1245s ok 89 /utf8/validate/87 1245s ok 90 /utf8/validate/88 1245s ok 91 /utf8/validate/89 1245s ok 92 /utf8/validate/90 1245s ok 93 /utf8/validate/91 1245s ok 94 /utf8/validate/92 1245s ok 95 /utf8/validate/93 1245s ok 96 /utf8/validate/94 1245s ok 97 /utf8/validate/95 1245s ok 98 /utf8/validate/96 1245s ok 99 /utf8/validate/97 1245s ok 100 /utf8/validate/98 1245s ok 101 /utf8/validate/99 1245s ok 102 /utf8/validate/100 1245s ok 103 /utf8/validate/101 1245s ok 104 /utf8/validate/102 1245s ok 105 /utf8/validate/103 1245s ok 106 /utf8/validate/104 1245s ok 107 /utf8/validate/105 1245s ok 108 /utf8/validate/106 1245s ok 109 /utf8/validate/107 1245s ok 110 /utf8/validate/108 1245s ok 111 /utf8/validate/109 1245s ok 112 /utf8/validate/110 1245s ok 113 /utf8/validate/111 1245s ok 114 /utf8/validate/112 1245s ok 115 /utf8/validate/113 1245s ok 116 /utf8/validate/114 1245s ok 117 /utf8/validate/115 1245s ok 118 /utf8/validate/116 1245s ok 119 /utf8/validate/117 1245s ok 120 /utf8/validate/118 1245s ok 121 /utf8/validate/119 1245s ok 122 /utf8/validate/120 1245s ok 123 /utf8/validate/121 1245s ok 124 /utf8/validate/122 1245s ok 125 /utf8/validate/123 1245s ok 126 /utf8/validate/124 1245s ok 127 /utf8/validate/125 1245s ok 128 /utf8/validate/126 1245s ok 129 /utf8/validate/127 1245s ok 130 /utf8/validate/128 1245s ok 131 /utf8/validate/129 1245s ok 132 /utf8/validate/130 1245s ok 133 /utf8/validate/131 1245s ok 134 /utf8/validate/132 1245s ok 135 /utf8/validate/133 1245s ok 136 /utf8/validate/134 1245s ok 137 /utf8/validate/135 1245s ok 138 /utf8/validate/136 1245s ok 139 /utf8/validate/137 1245s ok 140 /utf8/validate/138 1245s ok 141 /utf8/validate/139 1245s ok 142 /utf8/validate/140 1245s ok 143 /utf8/validate/141 1245s ok 144 /utf8/validate/142 1245s ok 145 /utf8/validate/143 1245s ok 146 /utf8/validate/144 1245s ok 147 /utf8/validate/145 1245s ok 148 /utf8/validate/146 1245s ok 149 /utf8/validate/147 1245s ok 150 /utf8/validate/148 1245s ok 151 /utf8/validate/149 1245s ok 152 /utf8/validate/150 1245s ok 153 /utf8/validate/151 1245s ok 154 /utf8/validate/152 1245s ok 155 /utf8/validate/153 1245s ok 156 /utf8/validate/154 1245s ok 157 /utf8/validate/155 1245s ok 158 /utf8/validate/156 1245s ok 159 /utf8/validate/157 1245s ok 160 /utf8/validate/158 1245s ok 161 /utf8/validate/159 1245s ok 162 /utf8/validate/160 1245s ok 163 /utf8/validate/161 1245s ok 164 /utf8/validate/162 1245s ok 165 /utf8/validate/163 1245s ok 166 /utf8/validate/164 1245s ok 167 /utf8/validate/165 1245s ok 168 /utf8/validate/166 1245s ok 169 /utf8/validate/167 1245s ok 170 /utf8/validate/168 1245s ok 171 /utf8/validate/169 1245s ok 172 /utf8/validate/170 1245s ok 173 /utf8/validate/171 1245s ok 174 /utf8/validate/172 1245s ok 175 /utf8/validate/173 1245s ok 176 /utf8/validate/174 1245s ok 177 /utf8/validate/175 1245s ok 178 /utf8/validate/176 1245s ok 179 /utf8/validate/177 1245s ok 180 /utf8/validate/178 1245s ok 181 /utf8/validate/179 1245s ok 182 /utf8/validate/180 1245s ok 183 /utf8/validate/181 1245s ok 184 /utf8/validate/182 1245s ok 185 /utf8/validate/183 1245s ok 186 /utf8/validate/184 1245s ok 187 /utf8/validate/185 1245s ok 188 /utf8/validate/186 1245s ok 189 /utf8/validate/187 1245s ok 190 /utf8/validate/188 1245s ok 191 /utf8/validate/189 1245s ok 192 /utf8/validate/190 1245s ok 193 /utf8/validate/191 1245s ok 194 /utf8/validate/192 1245s ok 195 /utf8/validate/193 1245s ok 196 /utf8/validate/194 1245s ok 197 /utf8/validate/195 1245s ok 198 /utf8/validate/196 1245s ok 199 /utf8/validate/197 1245s ok 200 /utf8/validate/198 1245s ok 201 /utf8/validate/199 1245s ok 202 /utf8/validate/200 1245s ok 203 /utf8/validate/201 1245s ok 204 /utf8/validate/202 1245s ok 205 /utf8/validate/203 1245s ok 206 /utf8/validate/204 1245s ok 207 /utf8/validate/205 1245s ok 208 /utf8/validate/206 1245s ok 209 /utf8/validate/207 1245s ok 210 /utf8/validate/208 1245s ok 211 /utf8/validate/209 1245s ok 212 /utf8/validate/210 1245s ok 213 /utf8/validate/211 1245s ok 214 /utf8/validate/212 1245s ok 215 /utf8/validate/213 1245s ok 216 /utf8/validate/214 1245s # End of validate tests 1245s # End of utf8 tests 1245s ok - glib/utf8-validate.test 1245s # Running test: glib/autoptr-girepository.test 1245s TAP version 14 1245s # random seed: R02S83b24b17908201bf882b4ca303216674 1245s 1..24 1245s # Start of autoptr tests 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/repository/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 1 /autoptr/repository 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/typelib/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 2 /autoptr/typelib 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/base-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 3 /autoptr/base-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/arg-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 4 /autoptr/arg-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callable-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 5 /autoptr/callable-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/callback-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 6 /autoptr/callback-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/constant-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 7 /autoptr/constant-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/enum-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 8 /autoptr/enum-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/field-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 9 /autoptr/field-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/flags-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 10 /autoptr/flags-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/function-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 11 /autoptr/function-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/interface-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 12 /autoptr/interface-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/object-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 13 /autoptr/object-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/property-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 14 /autoptr/property-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/registered-type-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 15 /autoptr/registered-type-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/signal-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 16 /autoptr/signal-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/struct-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 17 /autoptr/struct-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/type-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 18 /autoptr/type-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/union-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 19 /autoptr/union-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/value-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 20 /autoptr/value-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/autoptr/vfunc-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 21 /autoptr/vfunc-info 1245s # End of autoptr tests 1245s # Start of auto tests 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/auto/arg-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 22 /auto/arg-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/auto/type-info/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 23 /auto/type-info 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_YNE6Z2/auto/function-invoker/.dirs/runtime 1245s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1245s ok 24 /auto/function-invoker 1245s # End of auto tests 1245s ok - glib/autoptr-girepository.test 1245s # Running test: glib/gdbus-address-get-session.test 1245s TAP version 14 1245s # random seed: R02See1c068f2f0307c60ea0ca95d10418c6 1245s 1..2 1245s # Start of gdbus tests 1245s ok 1 /gdbus/x11-autolaunch 1245s ok 2 /gdbus/xdg-runtime 1245s # End of gdbus tests 1245s ok - glib/gdbus-address-get-session.test 1245s # Running test: glib/shell.test 1245s TAP version 14 1245s # random seed: R02S5927b9dc883646e779454bd054342eab 1245s 1..51 1245s # Start of shell tests 1245s # Start of cmdline tests 1245s test cmdline: foo bar 1245s ok 1 /shell/cmdline/0 1245s test cmdline: foo 'bar' 1245s ok 2 /shell/cmdline/1 1245s test cmdline: foo "bar" 1245s ok 3 /shell/cmdline/2 1245s test cmdline: foo '' 'bar' 1245s ok 4 /shell/cmdline/3 1245s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1245s ok 5 /shell/cmdline/4 1245s test cmdline: foo blah foo bar baz 1245s ok 6 /shell/cmdline/5 1245s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1245s ok 7 /shell/cmdline/6 1245s test cmdline: foo \ 1245s bar 1245s ok 8 /shell/cmdline/7 1245s test cmdline: foo '' '' 1245s ok 9 /shell/cmdline/8 1245s test cmdline: foo \" la la la 1245s ok 10 /shell/cmdline/9 1245s test cmdline: foo \ foo woo woo\ 1245s ok 11 /shell/cmdline/10 1245s test cmdline: foo "yada yada \$\"" 1245s ok 12 /shell/cmdline/11 1245s test cmdline: foo "c:\\" 1245s ok 13 /shell/cmdline/12 1245s test cmdline: foo # bla bla bla 1245s bar 1245s ok 14 /shell/cmdline/13 1245s test cmdline: foo a#b 1245s ok 15 /shell/cmdline/14 1245s test cmdline: #foo 1245s ok 16 /shell/cmdline/15 1245s test cmdline: foo bar \ 1245s ok 17 /shell/cmdline/16 1245s test cmdline: foo 'bar baz 1245s ok 18 /shell/cmdline/17 1245s test cmdline: foo '"bar" baz 1245s ok 19 /shell/cmdline/18 1245s test cmdline: 1245s ok 20 /shell/cmdline/19 1245s test cmdline: 1245s ok 21 /shell/cmdline/20 1245s test cmdline: # foo bar 1245s ok 22 /shell/cmdline/21 1245s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1245s ok 23 /shell/cmdline/22 1245s # End of cmdline tests 1245s # Start of quote tests 1245s ok 24 /shell/quote/0 1245s ok 25 /shell/quote/1 1245s ok 26 /shell/quote/2 1245s ok 27 /shell/quote/3 1245s ok 28 /shell/quote/4 1245s ok 29 /shell/quote/5 1245s ok 30 /shell/quote/6 1245s # End of quote tests 1245s # Start of unquote tests 1245s ok 31 /shell/unquote/0 1245s ok 32 /shell/unquote/1 1245s ok 33 /shell/unquote/2 1245s ok 34 /shell/unquote/3 1245s ok 35 /shell/unquote/4 1245s ok 36 /shell/unquote/5 1245s ok 37 /shell/unquote/6 1245s ok 38 /shell/unquote/7 1245s ok 39 /shell/unquote/8 1245s ok 40 /shell/unquote/9 1245s ok 41 /shell/unquote/10 1245s ok 42 /shell/unquote/11 1245s ok 43 /shell/unquote/12 1245s ok 44 /shell/unquote/13 1245s ok 45 /shell/unquote/14 1245s ok 46 /shell/unquote/15 1245s ok 47 /shell/unquote/16 1245s ok 48 /shell/unquote/17 1245s ok 49 /shell/unquote/18 1245s ok 50 /shell/unquote/19 1245s ok 51 /shell/unquote/20 1245s # End of unquote tests 1245s # End of shell tests 1245s ok - glib/shell.test 1245s # Running test: glib/gdbus-introspection.test 1245s TAP version 14 1245s # random seed: R02S0f3237bd3abd6873d6ce5669ceabb30c 1245s 1..4 1245s # Start of gdbus tests 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-parser/.dirs/runtime 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s ok 1 /gdbus/introspection-parser 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-generate/.dirs/runtime 1245s ok 2 /gdbus/introspection-generate 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-default-direction/.dirs/runtime 1245s ok 3 /gdbus/introspection-default-direction 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_AEK5Z2/gdbus/introspection-extra-data/.dirs/runtime 1245s ok 4 /gdbus/introspection-extra-data 1245s # End of gdbus tests 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1245s ok - glib/gdbus-introspection.test 1245s # Running test: glib/cxx-20.test 1245s TAP version 14 1245s # random seed: R02S069dcac5544dfbfb5d2c3a906e3ca2fc 1245s 1..2 1245s # Start of gtask tests 1245s # 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. 1245s ok 1 /gtask/name 1245s # Start of name tests 1245s # 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. 1245s ok 2 /gtask/name/macro-wrapper 1245s # End of name tests 1245s # End of gtask tests 1245s ok - glib/cxx-20.test 1245s # Running test: glib/spawn-multithreaded.test 1245s TAP version 14 1245s # random seed: R02Sf286aa979ae6a5e6696bfeb2c10ce281 1245s 1..4 1245s # Start of gthread tests 1246s # Child 4216 (ttl 1) exited, status 0 1247s # Child 4217 (ttl 2) exited, status 0 1247s ok 1 /gthread/spawn-childs 1247s # slow test /gthread/spawn-childs executed in 2.00 secs 1247s # Created pid: 4221 (ttl 1) 1247s # Created pid: 4222 (ttl 2) 1248s # Executing: glib/spawn-multithreaded.test 1248s # Child 4221 (ttl 1) exited, status 0 1249s # Child 4222 (ttl 2) exited, status 0 1249s ok 2 /gthread/spawn-childs-threads 1249s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1249s ok 3 /gthread/spawn-sync 1249s ok 4 /gthread/spawn-async 1249s # End of gthread tests 1249s ok - glib/spawn-multithreaded.test 1249s # Running test: glib/scannerapi.test 1249s TAP version 14 1249s # random seed: R02S60b60be2107104badca8c9ec44cb4da4 1249s 1..4 1249s # Start of scanner tests 1249s ok 1 /scanner/warn 1249s ok 2 /scanner/error 1249s ok 3 /scanner/symbols 1249s ok 4 /scanner/tokens 1249s # End of scanner tests 1249s ok - glib/scannerapi.test 1249s # Running test: glib/tls-certificate.test 1249s TAP version 14 1249s # random seed: R02Sb5ea0f44614d2df32d2bf31790a4a6ec 1249s 1..19 1249s # Start of tls-certificate tests 1249s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1249s ok 1 /tls-certificate/pem-parser 1249s ok 2 /tls-certificate/pem-parser-handles-chain 1249s ok 3 /tls-certificate/from_file 1249s ok 4 /tls-certificate/from_files 1249s ok 5 /tls-certificate/from_files_crlf 1249s ok 6 /tls-certificate/from_files_pkcs8 1249s ok 7 /tls-certificate/from_files_pkcs8enc 1249s ok 8 /tls-certificate/list_from_file 1249s ok 9 /tls-certificate/pkcs11-uri 1249s ok 10 /tls-certificate/pkcs11-uri-unsupported 1249s ok 11 /tls-certificate/from_pkcs12 1249s ok 12 /tls-certificate/from_pkcs12_file 1249s ok 13 /tls-certificate/not-valid-before 1249s ok 14 /tls-certificate/not-valid-after 1249s ok 15 /tls-certificate/subject-name 1249s ok 16 /tls-certificate/issuer-name 1249s ok 17 /tls-certificate/dns-names 1249s ok 18 /tls-certificate/ip-addresses 1249s ok 19 /tls-certificate/pem-parser-no-sentinel 1249s # End of tls-certificate tests 1249s ok - glib/tls-certificate.test 1249s # Running test: glib/properties-refcount2.test 1249s TAP version 14 1249s # random seed: R02S905089ef64521b030f12e1e5b71334ab 1249s 1..1 1249s # Start of gobject tests 1249s # Start of refcount tests 1249s # init 0xb121e2bb3780 1249s # 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1249s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # . 1250s # dispose 0xb121e2bb3780! 1250s # 1250s ok 1 /gobject/refcount/properties-2 1250s # slow test /gobject/refcount/properties-2 executed in 1.06 secs 1250s # End of refcount tests 1250s # End of gobject tests 1250s ok - glib/properties-refcount2.test 1250s # Running test: glib/repository-search-paths.test 1250s TAP version 14 1250s # random seed: R02S20c74b4d245b0fe5d604ed36c34ce490 1250s 1..4 1250s # Start of repository tests 1250s # Start of search-paths tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/default/.dirs/runtime 1250s ok 1 /repository/search-paths/default 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_4NYC02/repository/search-paths/prepend/.dirs/runtime 1250s ok 2 /repository/search-paths/prepend 1250s # End of search-paths tests 1250s # Start of library-paths tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/default/.dirs/runtime 1250s ok 3 /repository/library-paths/default 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_4NYC02/repository/library-paths/prepend/.dirs/runtime 1250s ok 4 /repository/library-paths/prepend 1250s # End of library-paths tests 1250s # End of repository tests 1250s ok - glib/repository-search-paths.test 1250s # Running test: glib/custom-dispatch.test 1250s TAP version 14 1250s # random seed: R02S5cec57d94aa7b56a4259c0c791f495d5 1250s 1..2 1250s # Start of properties tests 1250s # Start of custom-dispatch tests 1250s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1250s ok 1 /properties/custom-dispatch/init 1250s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1250s ok 2 /properties/custom-dispatch/set 1250s # End of custom-dispatch tests 1250s # End of properties tests 1250s ok - glib/custom-dispatch.test 1250s # Running test: glib/hash.test 1250s TAP version 14 1250s # random seed: R02Sd073488bc50ba0c41d3776906cd874a8 1250s 1..34 1250s # Start of hash tests 1250s ok 1 /hash/misc 1250s ok 2 /hash/one 1250s ok 3 /hash/honeyman 1250s ok 4 /hash/direct 1250s ok 5 /hash/direct2 1250s ok 6 /hash/int 1250s ok 7 /hash/int64 1250s ok 8 /hash/double 1250s ok 9 /hash/string 1250s ok 10 /hash/set 1250s ok 11 /hash/set-ref 1250s ok 12 /hash/ref 1250s ok 13 /hash/remove-all 1250s ok 14 /hash/recursive-remove-all 1250s ok 15 /hash/find 1250s ok 16 /hash/foreach 1250s ok 17 /hash/foreach-steal 1250s ok 18 /hash/steal-extended 1250s ok 19 /hash/steal-all-keys 1250s ok 20 /hash/steal-all-values 1250s ok 21 /hash/lookup-extended 1250s ok 22 /hash/new-similar 1250s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1250s ok 23 /hash/lookup-null-key 1250s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1250s ok 24 /hash/destroy-modify 1250s ok 25 /hash/consistency 1250s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1250s ok 26 /hash/iter-replace 1250s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1250s ok 27 /hash/set-insert-corruption 1250s ok 28 /hash/set-to-strv 1250s ok 29 /hash/get-keys-as-ptr-array 1250s ok 30 /hash/get-values-as-ptr-array 1250s ok 31 /hash/primes 1250s # Start of int64 tests 1250s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1250s ok 32 /hash/int64/collisions 1250s # End of int64 tests 1250s # Start of double tests 1250s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1250s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1250s ok 33 /hash/double/collisions 1250s # End of double tests 1250s # Start of recursive-remove-all tests 1250s # End of recursive-remove-all tests 1250s # Start of steal-extended tests 1250s ok 34 /hash/steal-extended/optional 1250s # End of steal-extended tests 1250s # End of hash tests 1250s ok - glib/hash.test 1250s # Running test: glib/module-test-plugin.test 1250s TAP version 14 1250s # random seed: R02S8eda3d90a76d199842c4402a3ae4f772 1250s 1..3 1250s # Start of module tests 1250s ok 1 /module/basics 1250s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1250s ok 2 /module/invalid-libtool-archive 1250s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1250s ok 3 /module/local-binding 1250s # End of module tests 1250s ok - glib/module-test-plugin.test 1250s # Running test: glib/credentials.test 1250s TAP version 14 1250s # random seed: R02S7c8e26f681701da53c3aa9e822235d55 1250s 1..1 1250s # Start of credentials tests 1250s # GCredentials:linux-ucred:pid=4258,uid=1000,gid=1000 1250s # GCredentials:linux-ucred:pid=4258,uid=0,gid=1000 1250s ok 1 /credentials/basic 1250s # End of credentials tests 1250s ok - glib/credentials.test 1250s # Running test: glib/converter-stream.test 1250s TAP version 14 1250s # random seed: R02S3af2853b485067614d1bfef3d392980f 1250s 1..17 1250s # Start of converter tests 1250s ok 1 /converter/basics 1250s # End of converter tests 1250s # Start of converter-input-stream tests 1250s ok 2 /converter-input-stream/expander 1250s ok 3 /converter-input-stream/compressor 1250s # Start of truncation tests 1251s ok 4 /converter-input-stream/truncation/zlib 1251s ok 5 /converter-input-stream/truncation/gzip 1251s ok 6 /converter-input-stream/truncation/raw 1251s # End of truncation tests 1251s # Start of charset tests 1251s ok 7 /converter-input-stream/charset/utf8->latin1 1251s ok 8 /converter-input-stream/charset/latin1->utf8 1251s ok 9 /converter-input-stream/charset/fallbacks 1251s # End of charset tests 1251s # End of converter-input-stream tests 1251s # Start of converter-output-stream tests 1251s # Start of roundtrip tests 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1251s ok 10 /converter-output-stream/roundtrip/zlib-0 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1251s ok 11 /converter-output-stream/roundtrip/zlib-9 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1251s ok 12 /converter-output-stream/roundtrip/gzip-0 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1251s ok 13 /converter-output-stream/roundtrip/gzip-9 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1251s ok 14 /converter-output-stream/roundtrip/raw-0 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1251s ok 15 /converter-output-stream/roundtrip/raw-9 1251s # End of roundtrip tests 1251s # End of converter-output-stream tests 1251s # Start of converter-stream tests 1251s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1251s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf3640618ea0 and GSocketClientAsyncConnectData 0xbf3640a0e330 1251s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1251s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1251s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf3640629620 for GSocketClientAsyncConnectData 0xbf3640a0e330 1251s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1251s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1251s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1251s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1251s ok 16 /converter-stream/pollable 1251s ok 17 /converter-stream/leftover 1251s # End of converter-stream tests 1251s ok - glib/converter-stream.test 1251s # Running test: glib/overflow-fallback.test 1251s TAP version 14 1251s # random seed: R02Sa8cf24affa1f48b90c6814e607677519 1251s 1..6 1251s # Start of glib tests 1251s # Start of checked-math tests 1251s ok 1 /glib/checked-math/guint-add 1251s ok 2 /glib/checked-math/guint-mul 1251s ok 3 /glib/checked-math/guint64-add 1251s ok 4 /glib/checked-math/guint64-mul 1251s ok 5 /glib/checked-math/gsize-add 1251s ok 6 /glib/checked-math/gsize-mul 1251s # End of checked-math tests 1251s # End of glib tests 1251s ok - glib/overflow-fallback.test 1251s # Running test: glib/closure-refcount.test 1251s TAP version 14 1251s # random seed: R02S2a0f7378b776698c21ab2ab22e1e68f3 1251s 1..1 1251s # Start of closure tests 1251s # Init 0xbdd556a801e0 1251s # Yielding from main thread 1251s # Yielding from main thread 1251s # Yielding from thread1 1251s # Yielding from main thread 1251s # Yielding from main thread 1251s # Yielding from main thread 1251s # Yielding from thread2 1251s # Yielding from main thread 1252s # Yielding from thread1 1252s # Yielding from main thread 1252s # Yielding from main thread 1252s # Yielding from main thread 1252s # Yielding from thread2 1252s # Yielding from thread1 1252s # Stopping 1252s # Stopped 1252s ok 1 /closure/refcount 1252s # End of closure tests 1252s ok - glib/closure-refcount.test 1252s # Running test: glib/data-output-stream.test 1252s TAP version 14 1252s # random seed: R02S14add24946b9c48ac24894dee2c48911 1252s 1..7 1252s # Start of data-output-stream tests 1252s ok 1 /data-output-stream/basic 1252s ok 2 /data-output-stream/write-lines-LF 1252s ok 3 /data-output-stream/write-lines-CR 1252s ok 4 /data-output-stream/write-lines-CR-LF 1252s ok 5 /data-output-stream/write-int 1252s ok 6 /data-output-stream/seek 1252s ok 7 /data-output-stream/truncate 1252s # End of data-output-stream tests 1252s ok - glib/data-output-stream.test 1252s # Running test: glib/gdbus-error.test 1252s TAP version 14 1252s # random seed: R02Sd94c80592693f4d6ab707c2419c77a45 1252s 1..4 1252s # Start of gdbus tests 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AXDJ02/gdbus/registered-errors/.dirs/runtime 1252s ok 1 /gdbus/registered-errors 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AXDJ02/gdbus/unregistered-errors/.dirs/runtime 1252s ok 2 /gdbus/unregistered-errors 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AXDJ02/gdbus/transparent-gerror/.dirs/runtime 1252s ok 3 /gdbus/transparent-gerror 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AXDJ02/gdbus/register-error/.dirs/runtime 1252s ok 4 /gdbus/register-error 1252s # End of gdbus tests 1252s ok - glib/gdbus-error.test 1252s # Running test: glib/keyfile.test 1252s TAP version 14 1252s # random seed: R02S00f4e61e21da3c24fa0ae84280b68e12 1252s 1..36 1252s # Start of keyfile tests 1252s ok 1 /keyfile/line-ends 1252s ok 2 /keyfile/whitespace 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1252s ok 3 /keyfile/comments 1252s ok 4 /keyfile/listing 1252s ok 5 /keyfile/string 1252s ok 6 /keyfile/boolean 1252s ok 7 /keyfile/number 1252s ok 8 /keyfile/locale-string 1252s ok 9 /keyfile/lists 1252s ok 10 /keyfile/lists-set-get 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1252s ok 11 /keyfile/group-remove 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1252s ok 12 /keyfile/key-remove 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1252s ok 13 /keyfile/groups 1252s ok 14 /keyfile/duplicate-keys 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1252s ok 15 /keyfile/duplicate-groups 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1252s ok 16 /keyfile/duplicate-groups2 1252s ok 17 /keyfile/group-names 1252s ok 18 /keyfile/key-names 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1252s ok 19 /keyfile/reload 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1252s ok 20 /keyfile/int64 1252s ok 21 /keyfile/load 1252s ok 22 /keyfile/save 1252s ok 23 /keyfile/load-fail 1252s ok 24 /keyfile/non-utf8 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1252s ok 25 /keyfile/page-boundary 1252s ok 26 /keyfile/ref 1252s ok 27 /keyfile/replace-value 1252s ok 28 /keyfile/list-separator 1252s ok 29 /keyfile/empty-string 1252s ok 30 /keyfile/limbo 1252s # Testing invalid encoding ?non-UTF-8? 1252s # Testing invalid encoding ?UTF? 1252s # Testing invalid encoding ?UTF-9? 1252s ok 31 /keyfile/utf8 1252s ok 32 /keyfile/roundtrip 1252s ok 33 /keyfile/bytes 1252s ok 34 /keyfile/get-locale 1252s ok 35 /keyfile/free-when-not-last-ref 1252s # Start of locale-string tests 1252s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1252s ok 36 /keyfile/locale-string/multiple-loads 1252s # End of locale-string tests 1252s # End of keyfile tests 1252s ok - glib/keyfile.test 1252s # Running test: glib/g-file.test 1252s TAP version 14 1252s # random seed: R02S4d792b85e76dc77b3571f7755b2d84d5 1252s 1..8 1252s # Start of g-file tests 1252s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1252s ok 1 /g-file/test_g_file_new_null 1252s ok 2 /g-file/test_g_file_new_for_path 1252s ok 3 /g-file/test_g_file_new_for_uri 1252s ok 4 /g-file/test_g_file_dup 1252s ok 5 /g-file/test_g_file_get_parse_name_utf8 1252s file:///tmp/test-tmp-glib_g-file.test-XQBJ02 1252s file:///tmp 1252s file:///tmp 1252s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1252s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1252s ok 6 /g-file/test_g_file_new_for_commandline_arg 1252s /dir1 /dir1/dir2/dir3/ 1252s /dir1/ /dir1/dir2/dir3/ 1252s /dir1 /dir1/dir2/dir3 1252s /dir1/ /dir1/dir2/dir3 1252s /tmp/ /something/ 1252s /dir1/dir2 /dir1/ 1252s //dir1/new //dir1/new/dir2/dir3 1252s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1252s file:///dir1 file:///dir1/dir2/dir3/ 1252s file:///dir1/ file:///dir1/dir2/dir3/ 1252s file:///dir1 file:///dir1/dir2/dir3 1252s file:///dir1/ file:///dir1/dir2/dir3 1252s file:///tmp/ file:///something/ 1252s file:///dir1/dir2 file:///dir1/ 1252s file:////dir1/new file:////dir1/new/dir2/dir3 1252s 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 1252s ok 7 /g-file/test_g_file_has_prefix 1252s ok 8 /g-file/test_g_file_get_parent_child 1252s # End of g-file tests 1252s ok - glib/g-file.test 1252s # Running test: glib/include.test 1252s TAP version 14 1252s # random seed: R02S512ac1a3e6c9ddc785d915e7865a38d8 1252s 1..1 1252s # Start of include tests 1252s ok 1 /include/rwlock 1252s # End of include tests 1252s ok - glib/include.test 1252s # Running test: glib/autoptr.test 1252s TAP version 14 1252s # random seed: R02S44acf0a318c5104b03daca44c7a16576 1252s 1..6 1252s # Start of autoptr tests 1252s ok 1 /autoptr/autoptr 1252s ok 2 /autoptr/autoptr_steal 1252s ok 3 /autoptr/autolist 1252s ok 4 /autoptr/autoslist 1252s ok 5 /autoptr/autoqueue 1252s ok 6 /autoptr/autoclass 1252s # End of autoptr tests 1252s ok - glib/autoptr.test 1252s # Running test: glib/tree.test 1252s TAP version 14 1252s # random seed: R02S8c3c84f5c7ec4725cc0efd45eb5faf0c 1252s 1..7 1252s # Start of tree tests 1252s ok 1 /tree/search 1252s ok 2 /tree/remove 1252s ok 3 /tree/destroy 1252s ok 4 /tree/traverse 1252s ok 5 /tree/insert 1252s ok 6 /tree/bounds 1252s ok 7 /tree/remove-all 1252s # End of tree tests 1252s ok - glib/tree.test 1252s # Running test: glib/threadtests.test 1252s TAP version 14 1252s # random seed: R02S7649aad27704bc980444566b4864db0b 1252s 1..5 1252s # Start of GObject tests 1252s ok 1 /GObject/threaded-object-init 1252s ok 2 /GObject/threaded-weak-ref 1252s # slow test /GObject/threaded-weak-ref executed in 0.70 secs 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1252s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 1253s ok 3 /GObject/threaded-toggle-notify 1253s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1253s # Start of threaded-weak-ref tests 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1253s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 1253s ok 5 /GObject/threaded-weak-ref/on-finalization 1253s # End of threaded-weak-ref tests 1253s # End of GObject tests 1253s ok - glib/threadtests.test 1253s # Running test: glib/portal-support-none.test 1253s TAP version 14 1253s # random seed: R02Sc811614cf8f8b007f634c8a6b97a784b 1253s 1..1 1253s # Start of portal-support tests 1253s ok 1 /portal-support/none 1253s # End of portal-support tests 1253s ok - glib/portal-support-none.test 1253s # Running test: glib/resources.test 1253s TAP version 14 1253s # random seed: R02S4af0eee3e0972271bf274f29391ef2b5 1253s 1..17 1253s # Start of resource tests 1253s ok 1 /resource/file 1253s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1253s ok 2 /resource/file-path 1253s ok 3 /resource/data 1253s ok 4 /resource/data_unaligned 1253s ok 5 /resource/data-corrupt 1253s ok 6 /resource/data-empty 1253s ok 7 /resource/registered 1253s ok 8 /resource/manual 1253s ok 9 /resource/manual2 1253s ok 10 /resource/automatic 1253s ok 11 /resource/module 1253s ok 12 /resource/binary-linked 1253s ok 13 /resource/64k 1253s GLib-GIO-Message: 09:06:01.076: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1253s ok 14 /resource/overlay 1253s ok 15 /resource/digits 1253s # Start of uri tests 1253s ok 16 /resource/uri/query-info 1253s ok 17 /resource/uri/file 1253s # End of uri tests 1253s # End of resource tests 1253s ok - glib/resources.test 1253s # Running test: glib/repository.test 1253s TAP version 14 1253s # random seed: R02Sd4cd60af9975457f38537ee1dab31fb8 1253s 1..23 1253s # Start of repository tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/basic/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/basic/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/basic/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/basic/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/basic/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/basic/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/basic/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/basic/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/basic/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/basic/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1253s ok 1 /repository/basic 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/info/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/info/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/info/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/info/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/info/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/info/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/info/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/info/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/info/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/info/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1253s ok 2 /repository/info 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/dependencies/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/dependencies/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/dependencies/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1253s ok 3 /repository/dependencies 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/arg-info/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/arg-info/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/arg-info/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1253s ok 4 /repository/arg-info 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/callable-info/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/callable-info/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/callable-info/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1253s ok 5 /repository/callable-info 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/callback-info/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/callback-info/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/callback-info/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1253s ok 6 /repository/callback-info 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/char-types/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/char-types/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/char-types/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/char-types/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/char-types/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/char-types/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/char-types/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/char-types/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/char-types/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/char-types/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1253s ok 7 /repository/char-types 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/constructor-return-type/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1253s ok 8 /repository/constructor-return-type 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/enum-info-c-identifier/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1253s ok 9 /repository/enum-info-c-identifier 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/enum-info-static-methods/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/enum-info-static-methods summary: Test an enum with methods 1253s ok 10 /repository/enum-info-static-methods 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/error-quark/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/error-quark/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/error-quark/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/error-quark summary: Test finding an error quark by error domain 1253s ok 11 /repository/error-quark 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/flags-info-c-identifier/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1253s ok 12 /repository/flags-info-c-identifier 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/fundamental-ref-func/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1253s ok 13 /repository/fundamental-ref-func 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/instance-method-ownership-transfer/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1253s ok 14 /repository/instance-method-ownership-transfer 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/object-gtype-interfaces/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1253s ok 15 /repository/object-gtype-interfaces 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/signal-info-with-array-length-arg/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1253s ok 16 /repository/signal-info-with-array-length-arg 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/type-info-name/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/type-info-name/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/type-info-name/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1253s ok 17 /repository/type-info-name 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/vfunc-info-with-no-invoker/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1253s ok 18 /repository/vfunc-info-with-no-invoker 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1253s ok 19 /repository/vfunc-info-with-invoker-on-interface 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1253s ok 20 /repository/vfunc-info-with-invoker-on-object 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/find-by-gtype/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/find-by-gtype summary: Test finding a GType 1253s ok 21 /repository/find-by-gtype 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/loaded-namespaces/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1253s ok 22 /repository/loaded-namespaces 1253s # Start of base-info tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJJI02/repository/base-info/clear/.dirs/runtime 1253s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1253s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1253s ok 23 /repository/base-info/clear 1253s # End of base-info tests 1253s # End of repository tests 1253s ok - glib/repository.test 1253s # Running test: glib/simple-async-result.test 1253s TAP version 14 1253s # random seed: R02Sf3645696599329c28639c47fb9ddef69 1253s 1..2 1253s # Start of gio tests 1253s # Start of simple-async-result tests 1253s ok 1 /gio/simple-async-result/test 1253s # GLib-GIO-DEBUG: GTask 0xbdedbee72730 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1253s ok 2 /gio/simple-async-result/valid 1253s # End of simple-async-result tests 1253s # End of gio tests 1253s ok - glib/simple-async-result.test 1253s # Running test: glib/types.test 1253s TAP version 14 1253s # random seed: R02S10903624d705303f008f405e1bbfed83 1253s 1..1 1253s # Start of types tests 1253s ok 1 /types/basic_types 1253s # End of types tests 1253s ok - glib/types.test 1253s # Running test: glib/dynamictype.test 1253s TAP version 14 1253s # random seed: R02S98af39c27ab352f68370a53e231bc361 1253s 1..2 1253s # Start of gobject tests 1253s ok 1 /gobject/dynamic-type 1253s # Start of dynamic-type tests 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1253s ok 2 /gobject/dynamic-type/query 1253s # End of dynamic-type tests 1253s # End of gobject tests 1253s ok - glib/dynamictype.test 1253s # Running test: glib/live-g-file.test 1253s TAP version 14 1253s # random seed: R02S16356fb8bf31d3b04f34d4a685217ca6 1253s 1..13 1253s # Start of live-g-file tests 1253s # Cleaning target testing structure in 'testdir_live-g-file'... 1253s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1253s ok 1 /live-g-file/prep_clean_structure 1253s # 1253s # Going to create testing structure in 'testdir_live-g-file'... 1253s # Creating directory 'dir1'... 1253s # Creating directory 'dir1/subdir'... 1253s # Creating directory 'dir2'... 1253s # Creating directory 'dir-target'... 1253s # Creating directory 'dir_no-access'... 1253s # Creating directory 'dir_no-write'... 1253s # Creating file 'target-file'... 1253s # Creating file 'normal_file'... 1253s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1253s # Creating file 'executable_file'... 1253s # Creating file 'private_file'... 1253s # Creating file 'normal_file2'... 1253s # Creating file 'readonly_file'... 1253s # Creating file 'UTF_pr?i?lis? z'... 1253s # Creating directory 'dir_pr?i?lis? z'... 1253s # Creating symlink 'lost_symlink' --> 'nowhere'... 1253s # Creating directory 'dir_hidden'... 1253s # Creating file 'dir_hidden/.a-hidden-file'... 1253s # Creating file 'dir_hidden/file-in-.hidden1'... 1253s # Creating file 'dir_hidden/file-in-.hidden2'... 1253s # Creating pattern file... 1253s # done. 1253s ok 2 /live-g-file/create_structure 1253s # Testing sample structure in 'testdir_live-g-file'... 1253s # Testing file 'dir1'... 1253s # Testing file 'dir1/subdir'... 1253s # Testing file 'dir2'... 1253s # Testing file 'dir-target'... 1253s # Testing file 'dir_no-access'... 1253s # Testing file 'dir_no-write'... 1253s # Testing file 'target-file'... 1253s # Testing file 'normal_file'... 1253s # Testing file 'normal_file-symlink'... 1253s # Testing file 'executable_file'... 1253s # Testing file 'private_file'... 1253s # Testing file 'normal_file2'... 1253s # Testing file 'readonly_file'... 1253s # Testing file 'UTF_pr?i?lis? z'... 1253s # Testing file 'dir_pr?i?lis? z'... 1253s # Testing file 'lost_symlink'... 1253s # Testing file 'dir_hidden'... 1253s # Testing file 'dir_hidden/.a-hidden-file'... 1253s # Testing file 'dir_hidden/file-in-.hidden1'... 1253s # Testing file 'dir_hidden/file-in-.hidden2'... 1253s # Testing pattern file... 1253s # read 65536 bytes, total = 65536 of 65536. 1253s ok 3 /live-g-file/test_initial_structure 1253s # Traversing through the sample structure in 'testdir_live-g-file'... 1253s # Found file dir1, relative to root: dir1 1253s # Found file subdir, relative to root: dir1/subdir 1253s # Found file dir2, relative to root: dir2 1253s # Found file dir-target, relative to root: dir-target 1253s # Found file dir_no-access, relative to root: dir_no-access 1253s # Found file dir_no-write, relative to root: dir_no-write 1253s # Found file target-file, relative to root: target-file 1253s # Found file normal_file, relative to root: normal_file 1253s # Found file normal_file-symlink, relative to root: normal_file-symlink 1253s # Found file executable_file, relative to root: executable_file 1253s # Found file private_file, relative to root: private_file 1253s # Found file normal_file2, relative to root: normal_file2 1253s # Found file readonly_file, relative to root: readonly_file 1253s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1253s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1253s # Found file lost_symlink, relative to root: lost_symlink 1253s # Found file dir_hidden, relative to root: dir_hidden 1253s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1253s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1253s # Found file .hidden, relative to root: dir_hidden/.hidden 1253s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1253s # Found file pattern_file, relative to root: pattern_file 1253s ok 4 /live-g-file/test_traverse_structure 1253s # Test enumerate 'testdir_live-g-file'... 1253s # Testing file 'dir_no-access' 1253s # Testing file 'normal_file' 1253s # Testing file 'normal_file-symlink' 1253s # Testing file 'not_exists' 1253s # Testing file 'not_exists' 1253s # Testing file 'not_exists2' 1253s # Testing file 'not_exists3' 1253s # Testing file 'not_exists4' 1253s # Testing file 'dir_no-execute/file' 1253s ok 5 /live-g-file/test_enumerate 1253s # test_open: 'dir1' 1253s # test_open: 'dir_no-access' 1253s # test_open: 'target-file' 1253s # test_open: 'normal_file-symlink' 1253s # test_open: 'executable_file' 1253s # test_open: 'private_file' 1253s # test_open: 'readonly_file' 1253s # test_open: 'UTF_pr?i?lis? z' 1253s # test_open: 'pattern_file' 1253s # test_open: 'not_exists' 1253s # test_open: 'dir_no-execute/file' 1253s # test_open: 'lost_symlink' 1253s ok 6 /live-g-file/test_open 1253s # test_create: 'dir1' 1253s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir1?: Is a directory 1253s # test_create: 'dir1/subdir' 1253s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir1/subdir?: Is a directory 1253s # test_create: 'dir2' 1253s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir2?: File exists 1253s # test_create: 'normal_file' 1253s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/normal_file?: File exists 1253s # test_create: 'executable_file' 1253s # test_create: 'private_file' 1253s # test_create: 'normal_file2' 1253s # test_create: 'UTF_pr?i?lis? z' 1253s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1253s # test_create: 'dir_pr?i?lis? z' 1253s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1253s # test_create: 'pattern_file' 1253s # test_create: 'not_exists2' 1253s # test_create: 'not_exists3' 1253s # test_create: 'not_exists4' 1253s ok 7 /live-g-file/test_create 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir1/subdir' --> '.' 1253s # res = 0, error code 2 = Target file exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir1/subdir' --> 'target-file' 1253s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir2' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir-target' --> 'dir-target' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir-target' --> '.' 1253s # res = 0, error code 2 = Target file exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir-target' --> 'target-file' 1253s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/dir-target?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir-target' --> 'not_exists' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir-target' --> 'dir_no-access' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'dir-target' --> 'dir_no-write' 1253s # res = 0, error code 25 = Can?t recursively copy directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'target-file' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'target-file' --> '.' 1253s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file?: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'target-file' --> 'target-file' 1253s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/target-file?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'target-file' --> 'not_exists' 1253s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/target-file?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'target-file' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'target-file' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file-symlink' --> '.' 1253s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/normal_file-symlink: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1253s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1253s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> '.' 1253s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/executable_file?: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> 'target-file' 1253s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/executable_file?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> 'not_exists' 1253s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'executable_file' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> '.' 1253s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/private_file?: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> 'target-file' 1253s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/private_file?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> 'not_exists' 1253s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/private_file?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'private_file' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> '.' 1253s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/normal_file2?: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> 'target-file' 1253s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/normal_file2?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> 'not_exists' 1253s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1253s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1253s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1253s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'pattern_file' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'pattern_file' --> '.' 1253s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/pattern_file?: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'pattern_file' --> 'target-file' 1253s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/pattern_file?: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'pattern_file' --> 'not_exists' 1253s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> 'dir-target' 1253s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> '.' 1253s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> 'target-file' 1253s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> 'not_exists' 1253s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> 'dir_no-access' 1253s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> 'dir_no-write' 1253s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists?: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'not_exists' --> 'dir-target' 1253s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'lost_symlink' --> 'dir-target' 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'lost_symlink' --> '.' 1253s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/lost_symlink: File exists 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'lost_symlink' --> 'target-file' 1253s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/target-file/lost_symlink: Not a directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'lost_symlink' --> 'not_exists' 1253s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1253s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1253s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1253s ok 8 /live-g-file/test_copy_move 1253s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir1 1253s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir1: Directory not empty 1253s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir2 1253s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir2: No such file or directory 1253s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/executable_file 1253s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/readonly_file 1253s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_pr?i?lis? z 1253s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists 1253s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists: No such file or directory 1253s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists 1253s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/not_exists: No such file or directory 1253s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-execute/file 1253s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/dir_no-execute/file: No such file or directory 1253s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-TTHJ02/testdir_live-g-file/lost_symlink 1253s ok 9 /live-g-file/test_delete 1253s # We do not have CAP_DAC_OVERRIDE or equivalent 1253s ok 10 /live-g-file/test_make_directory_with_parents 1253s # Cleaning target testing structure in 'testdir_live-g-file'... 1253s # deleting 'dir1' 1253s # deleting 'subdir' 1253s # deleting 'dir-target' 1253s # deleting 'dir2' 1253s # deleting 'target-file' 1253s # deleting 'normal_file-symlink' 1253s # deleting 'pattern_file' 1253s # deleting 'executable_file' 1253s # deleting 'private_file' 1253s # deleting 'normal_file2' 1253s # deleting 'UTF_pr?i?lis? z' 1253s # deleting 'lost_symlink' 1253s # deleting 'dir_no-access' 1253s # deleting 'dir_no-write' 1253s # deleting 'target-file' 1253s # deleting 'normal_file' 1253s # deleting 'normal_file-symlink' 1253s # deleting 'executable_file~' 1253s # deleting 'private_file' 1253s # deleting 'normal_file2~' 1253s # deleting 'a' 1253s # deleting 'UTF_pr?i?lis? z' 1253s # deleting 'dir_hidden' 1253s # deleting '.a-hidden-file' 1253s # deleting 'file-in-.hidden1' 1253s # deleting '.hidden' 1253s # deleting 'file-in-.hidden2' 1253s # deleting 'pattern_file' 1253s # deleting 'normal_file2' 1253s # deleting 'not_exists2' 1253s # deleting 'not_exists3' 1253s # deleting 'not_exists4' 1253s ok 11 /live-g-file/final_clean 1253s # Start of test_unix_is_mountpoint tests 1253s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1253s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1253s # End of test_unix_is_mountpoint tests 1253s # End of live-g-file tests 1253s ok - glib/live-g-file.test 1253s # Running test: glib/signals.test 1253s TAP version 14 1253s # random seed: R02S8e4caca71ce35c10e81cc0b78d3e6463 1253s 1..31 1253s # Start of gobject tests 1253s # Start of signals tests 1253s ok 1 /gobject/signals/all-types 1253s ok 2 /gobject/signals/variant 1253s ok 3 /gobject/signals/destroy-target-object 1253s ok 4 /gobject/signals/generic-marshaller-1 1253s ok 5 /gobject/signals/generic-marshaller-2 1253s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1253s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1253s ok 8 /gobject/signals/generic-marshaller-int-return 1253s ok 9 /gobject/signals/generic-marshaller-uint-return 1253s ok 10 /gobject/signals/generic-marshaller-interface-return 1253s ok 11 /gobject/signals/custom-marshaller 1253s ok 12 /gobject/signals/connect 1253s ok 13 /gobject/signals/emission-hook 1253s ok 14 /gobject/signals/emitv 1253s ok 15 /gobject/signals/accumulator 1253s # Signal: accumulator-class-first 1253s # Signal: accumulator-class-last 1253s # Signal: accumulator-class-cleanup 1253s # Signal: accumulator-class-first-last 1253s # Signal: accumulator-class-first-last-cleanup 1253s # Signal: accumulator-class-last-cleanup 1253s ok 16 /gobject/signals/accumulator-class 1253s ok 17 /gobject/signals/introspection 1253s ok 18 /gobject/signals/block-handler 1253s ok 19 /gobject/signals/stop-emission 1253s ok 20 /gobject/signals/invocation-hint 1253s ok 21 /gobject/signals/test-disconnection-wrong-object 1253s ok 22 /gobject/signals/clear-signal-handler 1253s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1253s ok 23 /gobject/signals/lookup 1253s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1253s ok 24 /gobject/signals/parse-name 1253s ok 25 /gobject/signals/is-valid-name 1253s ok 26 /gobject/signals/weak-ref-disconnect 1253s # Start of lookup tests 1253s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1253s ok 27 /gobject/signals/lookup/invalid 1253s # End of lookup tests 1253s # Start of parse-name tests 1253s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1253s # Parser input: 1253s # Parser input: 7zip 1253s # Parser input: invalid:signal 1253s # Parser input: simple-detailed:: 1253s # Parser input: simple-detailed: 1253s # Parser input: : 1253s # Parser input: :: 1253s # Parser input: :valid-detail 1253s # Parser input: ::valid-detail 1253s ok 28 /gobject/signals/parse-name/invalid 1253s # End of parse-name tests 1253s # Start of invalid-name tests 1253s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1253s ok 29 /gobject/signals/invalid-name/colon 1253s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1253s ok 30 /gobject/signals/invalid-name/first-char 1253s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1253s ok 31 /gobject/signals/invalid-name/empty 1253s # End of invalid-name tests 1253s # End of signals tests 1253s # End of gobject tests 1253s ok - glib/signals.test 1253s # Running test: glib/refstring.test 1253s TAP version 14 1253s # random seed: R02S10434a64465434fdcfa08e84063fbd66 1253s 1..6 1253s # Start of refstring tests 1253s # s = 'hello, world' (0xaed02f9c73b0) 1253s ok 1 /refstring/base 1253s ok 2 /refstring/length 1253s ok 3 /refstring/length-auto 1253s ok 4 /refstring/length-nuls 1253s # s = 'hello, world' (0xaed02f9c7300) 1253s # p = s = 'hello, world' (0xaed02f9c7300) 1253s # releasing p[0xaed02f9c7300] ('hello, world') 1253s # p = 'goodbye, world' (0xaed02f9c73b0) 1253s # releasing p[0xaed02f9c73b0] ('goodbye, world') 1253s # releasing s[0xaed02f9c7300] ('hello, world') 1253s ok 5 /refstring/intern 1253s # Executing: glib/refstring.test 1253s ok 6 /refstring/intern-thread-safety 1253s # slow test /refstring/intern-thread-safety executed in 0.71 secs 1253s # End of refstring tests 1253s ok - glib/refstring.test 1253s # Running test: glib/gutils-user-database.test 1253s TAP version 14 1253s # random seed: R02S6bff0dfd08a67cb249cf773e13e4ff79 1253s 1..1 1253s # Start of gutils tests 1253s ok 1 /gutils/get_user_database_entry 1253s # End of gutils tests 1253s ok - glib/gutils-user-database.test 1253s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1253s TAP version 14 1253s # random seed: R02S9eaac3a3a2acc35405c50c90e2c9b2d6 1253s 1..8 1253s # Start of gdbus tests 1253s # Start of codegen tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/annotations/.dirs/runtime 1253s ok 1 /gdbus/codegen/annotations 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/interface_stability/.dirs/runtime 1253s ok 2 /gdbus/codegen/interface_stability 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/object-manager/.dirs/runtime 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s ok 3 /gdbus/codegen/object-manager 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/property-naming/.dirs/runtime 1254s ok 4 /gdbus/codegen/property-naming 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/autocleanups/.dirs/runtime 1254s ok 5 /gdbus/codegen/autocleanups 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/deprecations/.dirs/runtime 1254s ok 6 /gdbus/codegen/deprecations 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1254s ok 7 /gdbus/codegen/standalone-interface-info 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_G1BB02/gdbus/codegen/unix-fd-list/.dirs/runtime 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1254s ok 8 /gdbus/codegen/unix-fd-list 1254s # End of codegen tests 1254s # End of gdbus tests 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s ok - glib/gdbus-test-codegen-min-required-2-64.test 1254s # Running test: glib/reference.test 1254s TAP version 14 1254s # random seed: R02S76c455888ba7d1101eea21a40c863760 1254s 1..29 1254s # Start of type tests 1254s ok 1 /type/fundamentals 1254s ok 2 /type/qdata 1254s ok 3 /type/query 1254s ok 4 /type/class-private 1254s # End of type tests 1254s # Start of object tests 1254s ok 5 /object/clear 1254s ok 6 /object/clear-function 1254s ok 7 /object/set 1254s ok 8 /object/set-function 1254s ok 9 /object/value 1254s ok 10 /object/initially-unowned 1254s ok 11 /object/weak-pointer 1254s ok 12 /object/weak-ref 1254s ok 13 /object/toggle-ref 1254s ok 14 /object/qdata 1254s ok 15 /object/qdata2 1254s # Start of set tests 1254s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1254s ok 16 /object/set/derived-type 1254s # End of set tests 1254s # Start of weak-pointer tests 1254s ok 17 /object/weak-pointer/clear 1254s ok 18 /object/weak-pointer/clear-function 1254s ok 19 /object/weak-pointer/set 1254s ok 20 /object/weak-pointer/set-function 1254s # End of weak-pointer tests 1254s # Start of weak-ref tests 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1254s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1254s ok 21 /object/weak-ref/on-dispose 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1254s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1254s ok 22 /object/weak-ref/on-run-dispose 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1254s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1254s ok 23 /object/weak-ref/on-toggle-notify 1254s ok 24 /object/weak-ref/in-toggle-notify 1254s ok 25 /object/weak-ref/many 1254s # Start of concurrent tests 1254s ok 26 /object/weak-ref/concurrent/0 1254s ok 27 /object/weak-ref/concurrent/1 1254s # End of concurrent tests 1254s # End of weak-ref tests 1254s # Start of toggle-ref tests 1254s ok 28 /object/toggle-ref/ref-on-dispose 1254s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1254s # End of toggle-ref tests 1254s # End of object tests 1254s ok - glib/reference.test 1254s # Running test: glib/rand.test 1254s TAP version 14 1254s # random seed: R02S00b998a3b4e5168ae7e21697f3b4ed09 1254s 1..2 1254s # Start of rand tests 1254s ok 1 /rand/test-rand 1254s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1254s ok 2 /rand/double-range 1254s # End of rand tests 1254s ok - glib/rand.test 1254s # Running test: glib/regex.test 1254s TAP version 14 1254s # random seed: R02S08461cb71b050a8db63b2bb42fef53a4 1254s 1..848 1254s # Start of regex tests 1254s ok 1 /regex/properties 1254s ok 2 /regex/class 1254s ok 3 /regex/lookahead 1254s ok 4 /regex/lookbehind 1254s ok 5 /regex/subpattern 1254s ok 6 /regex/condition 1254s ok 7 /regex/recursion 1254s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1254s ok 8 /regex/multiline 1254s ok 9 /regex/explicit-crlf 1254s ok 10 /regex/max-lookbehind 1254s ok 11 /regex/compile-errors 1254s ok 12 /regex/jit-unsupported-matching 1254s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1254s ok 13 /regex/unmatched-named-subpattern 1254s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1254s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1254s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1254s ok 14 /regex/compiled-regex-after-jit-failure 1254s # Start of new tests 1254s ok 15 /regex/new/1 1254s ok 16 /regex/new/2 1254s ok 17 /regex/new/3 1254s ok 18 /regex/new/4 1254s ok 19 /regex/new/5 1254s ok 20 /regex/new/6 1254s ok 21 /regex/new/7 1254s ok 22 /regex/new/8 1254s ok 23 /regex/new/9 1254s ok 24 /regex/new/10 1254s ok 25 /regex/new/11 1254s ok 26 /regex/new/12 1254s ok 27 /regex/new/13 1254s ok 28 /regex/new/14 1254s ok 29 /regex/new/15 1254s ok 30 /regex/new/16 1254s ok 31 /regex/new/17 1254s ok 32 /regex/new/18 1254s ok 33 /regex/new/19 1254s ok 34 /regex/new/71 1254s ok 35 /regex/new/80 1254s ok 36 /regex/new/82 1254s # End of new tests 1254s # Start of new-check-flags tests 1254s ok 37 /regex/new-check-flags/20 1254s ok 38 /regex/new-check-flags/21 1254s ok 39 /regex/new-check-flags/22 1254s ok 40 /regex/new-check-flags/23 1254s ok 41 /regex/new-check-flags/24 1254s ok 42 /regex/new-check-flags/25 1254s ok 43 /regex/new-check-flags/26 1254s ok 44 /regex/new-check-flags/27 1254s ok 45 /regex/new-check-flags/28 1254s ok 46 /regex/new-check-flags/29 1254s ok 47 /regex/new-check-flags/30 1254s ok 48 /regex/new-check-flags/31 1254s ok 49 /regex/new-check-flags/32 1254s ok 50 /regex/new-check-flags/33 1254s ok 51 /regex/new-check-flags/34 1254s ok 52 /regex/new-check-flags/35 1254s ok 53 /regex/new-check-flags/36 1254s # End of new-check-flags tests 1254s # Start of new-fail tests 1254s ok 54 /regex/new-fail/37 1254s ok 55 /regex/new-fail/38 1254s ok 56 /regex/new-fail/39 1254s ok 57 /regex/new-fail/40 1254s ok 58 /regex/new-fail/41 1254s ok 59 /regex/new-fail/42 1254s ok 60 /regex/new-fail/43 1254s ok 61 /regex/new-fail/44 1254s ok 62 /regex/new-fail/45 1254s ok 63 /regex/new-fail/46 1254s ok 64 /regex/new-fail/47 1254s ok 65 /regex/new-fail/48 1254s ok 66 /regex/new-fail/49 1254s ok 67 /regex/new-fail/50 1254s ok 68 /regex/new-fail/51 1254s ok 69 /regex/new-fail/52 1254s ok 70 /regex/new-fail/53 1254s ok 71 /regex/new-fail/54 1254s ok 72 /regex/new-fail/55 1254s ok 73 /regex/new-fail/56 1254s ok 74 /regex/new-fail/57 1254s ok 75 /regex/new-fail/58 1254s ok 76 /regex/new-fail/59 1254s ok 77 /regex/new-fail/60 1254s ok 78 /regex/new-fail/61 1254s ok 79 /regex/new-fail/62 1254s ok 80 /regex/new-fail/63 1254s ok 81 /regex/new-fail/64 1254s ok 82 /regex/new-fail/65 1254s ok 83 /regex/new-fail/66 1254s ok 84 /regex/new-fail/67 1254s ok 85 /regex/new-fail/68 1254s ok 86 /regex/new-fail/69 1254s ok 87 /regex/new-fail/70 1254s ok 88 /regex/new-fail/72 1254s ok 89 /regex/new-fail/73 1254s ok 90 /regex/new-fail/74 1254s ok 91 /regex/new-fail/75 1254s ok 92 /regex/new-fail/76 1254s ok 93 /regex/new-fail/77 1254s ok 94 /regex/new-fail/78 1254s ok 95 /regex/new-fail/79 1254s ok 96 /regex/new-fail/81 1254s ok 97 /regex/new-fail/83 1254s ok 98 /regex/new-fail/84 1254s ok 99 /regex/new-fail/85 1254s ok 100 /regex/new-fail/86 1254s ok 101 /regex/new-fail/87 1254s ok 102 /regex/new-fail/88 1254s ok 103 /regex/new-fail/89 1254s ok 104 /regex/new-fail/90 1254s ok 105 /regex/new-fail/91 1254s # End of new-fail tests 1254s # Start of match-simple tests 1254s ok 106 /regex/match-simple/92 1254s ok 107 /regex/match-simple/93 1254s ok 108 /regex/match-simple/94 1254s ok 109 /regex/match-simple/95 1254s ok 110 /regex/match-simple/96 1254s ok 111 /regex/match-simple/97 1254s ok 112 /regex/match-simple/98 1254s ok 113 /regex/match-simple/99 1254s ok 114 /regex/match-simple/100 1254s ok 115 /regex/match-simple/101 1254s ok 116 /regex/match-simple/102 1254s ok 117 /regex/match-simple/103 1254s ok 118 /regex/match-simple/104 1254s ok 119 /regex/match-simple/105 1254s ok 120 /regex/match-simple/106 1254s ok 121 /regex/match-simple/107 1254s ok 122 /regex/match-simple/108 1254s ok 123 /regex/match-simple/109 1254s ok 124 /regex/match-simple/110 1254s ok 125 /regex/match-simple/111 1254s ok 126 /regex/match-simple/112 1254s ok 127 /regex/match-simple/113 1254s ok 128 /regex/match-simple/114 1254s ok 129 /regex/match-simple/115 1254s ok 130 /regex/match-simple/116 1254s ok 131 /regex/match-simple/117 1254s ok 132 /regex/match-simple/118 1254s ok 133 /regex/match-simple/119 1254s ok 134 /regex/match-simple/120 1254s ok 135 /regex/match-simple/121 1254s ok 136 /regex/match-simple/122 1254s ok 137 /regex/match-simple/123 1254s ok 138 /regex/match-simple/124 1254s ok 139 /regex/match-simple/125 1254s ok 140 /regex/match-simple/126 1254s ok 141 /regex/match-simple/127 1254s ok 142 /regex/match-simple/128 1254s ok 143 /regex/match-simple/129 1254s ok 144 /regex/match-simple/130 1254s ok 145 /regex/match-simple/131 1254s ok 146 /regex/match-simple/132 1254s ok 147 /regex/match-simple/133 1254s ok 148 /regex/match-simple/134 1254s ok 149 /regex/match-simple/135 1254s ok 150 /regex/match-simple/136 1254s ok 151 /regex/match-simple/137 1254s ok 152 /regex/match-simple/138 1254s ok 153 /regex/match-simple/139 1254s ok 154 /regex/match-simple/140 1254s ok 155 /regex/match-simple/141 1254s ok 156 /regex/match-simple/142 1254s ok 157 /regex/match-simple/143 1254s ok 158 /regex/match-simple/144 1254s ok 159 /regex/match-simple/145 1254s ok 160 /regex/match-simple/146 1254s ok 161 /regex/match-simple/147 1254s ok 162 /regex/match-simple/148 1254s ok 163 /regex/match-simple/149 1254s ok 164 /regex/match-simple/150 1254s ok 165 /regex/match-simple/151 1254s ok 166 /regex/match-simple/152 1254s ok 167 /regex/match-simple/153 1254s ok 168 /regex/match-simple/154 1254s ok 169 /regex/match-simple/155 1254s ok 170 /regex/match-simple/156 1254s ok 171 /regex/match-simple/157 1254s ok 172 /regex/match-simple/158 1254s ok 173 /regex/match-simple/159 1254s ok 174 /regex/match-simple/160 1254s ok 175 /regex/match-simple/161 1254s ok 176 /regex/match-simple/162 1254s ok 177 /regex/match-simple/163 1254s ok 178 /regex/match-simple/164 1254s # End of match-simple tests 1254s # Start of match-simple-optimized tests 1254s ok 179 /regex/match-simple-optimized/92 1254s ok 180 /regex/match-simple-optimized/93 1254s ok 181 /regex/match-simple-optimized/94 1254s ok 182 /regex/match-simple-optimized/95 1254s ok 183 /regex/match-simple-optimized/96 1254s ok 184 /regex/match-simple-optimized/97 1254s ok 185 /regex/match-simple-optimized/98 1254s ok 186 /regex/match-simple-optimized/99 1254s ok 187 /regex/match-simple-optimized/100 1254s ok 188 /regex/match-simple-optimized/101 1254s ok 189 /regex/match-simple-optimized/102 1254s ok 190 /regex/match-simple-optimized/103 1254s ok 191 /regex/match-simple-optimized/104 1254s ok 192 /regex/match-simple-optimized/105 1254s ok 193 /regex/match-simple-optimized/106 1254s ok 194 /regex/match-simple-optimized/107 1254s ok 195 /regex/match-simple-optimized/108 1254s ok 196 /regex/match-simple-optimized/109 1254s ok 197 /regex/match-simple-optimized/110 1254s ok 198 /regex/match-simple-optimized/111 1254s ok 199 /regex/match-simple-optimized/112 1254s ok 200 /regex/match-simple-optimized/113 1254s ok 201 /regex/match-simple-optimized/114 1254s ok 202 /regex/match-simple-optimized/115 1254s ok 203 /regex/match-simple-optimized/116 1254s ok 204 /regex/match-simple-optimized/117 1254s ok 205 /regex/match-simple-optimized/118 1254s ok 206 /regex/match-simple-optimized/119 1254s ok 207 /regex/match-simple-optimized/120 1254s ok 208 /regex/match-simple-optimized/121 1254s ok 209 /regex/match-simple-optimized/122 1254s ok 210 /regex/match-simple-optimized/123 1254s ok 211 /regex/match-simple-optimized/124 1254s ok 212 /regex/match-simple-optimized/125 1254s ok 213 /regex/match-simple-optimized/126 1254s ok 214 /regex/match-simple-optimized/127 1254s ok 215 /regex/match-simple-optimized/128 1254s ok 216 /regex/match-simple-optimized/129 1254s ok 217 /regex/match-simple-optimized/130 1254s ok 218 /regex/match-simple-optimized/131 1254s ok 219 /regex/match-simple-optimized/132 1254s ok 220 /regex/match-simple-optimized/133 1254s ok 221 /regex/match-simple-optimized/134 1254s ok 222 /regex/match-simple-optimized/135 1254s ok 223 /regex/match-simple-optimized/136 1254s ok 224 /regex/match-simple-optimized/137 1254s ok 225 /regex/match-simple-optimized/138 1254s ok 226 /regex/match-simple-optimized/139 1254s ok 227 /regex/match-simple-optimized/140 1254s ok 228 /regex/match-simple-optimized/141 1254s ok 229 /regex/match-simple-optimized/142 1254s ok 230 /regex/match-simple-optimized/143 1254s ok 231 /regex/match-simple-optimized/144 1254s ok 232 /regex/match-simple-optimized/145 1254s ok 233 /regex/match-simple-optimized/146 1254s ok 234 /regex/match-simple-optimized/147 1254s ok 235 /regex/match-simple-optimized/148 1254s ok 236 /regex/match-simple-optimized/149 1254s ok 237 /regex/match-simple-optimized/150 1254s ok 238 /regex/match-simple-optimized/151 1254s ok 239 /regex/match-simple-optimized/152 1254s ok 240 /regex/match-simple-optimized/153 1254s ok 241 /regex/match-simple-optimized/154 1254s ok 242 /regex/match-simple-optimized/155 1254s ok 243 /regex/match-simple-optimized/156 1254s ok 244 /regex/match-simple-optimized/157 1254s ok 245 /regex/match-simple-optimized/158 1254s ok 246 /regex/match-simple-optimized/159 1254s ok 247 /regex/match-simple-optimized/160 1254s ok 248 /regex/match-simple-optimized/161 1254s ok 249 /regex/match-simple-optimized/162 1254s ok 250 /regex/match-simple-optimized/163 1254s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1254s ok 251 /regex/match-simple-optimized/164 1254s # End of match-simple-optimized tests 1254s # Start of match tests 1254s ok 252 /regex/match/165 1254s ok 253 /regex/match/166 1254s ok 254 /regex/match/167 1254s ok 255 /regex/match/168 1254s ok 256 /regex/match/169 1254s ok 257 /regex/match/170 1254s ok 258 /regex/match/171 1254s ok 259 /regex/match/172 1254s ok 260 /regex/match/173 1254s ok 261 /regex/match/174 1254s ok 262 /regex/match/175 1254s ok 263 /regex/match/176 1254s ok 264 /regex/match/177 1254s ok 265 /regex/match/178 1254s ok 266 /regex/match/179 1254s ok 267 /regex/match/180 1254s ok 268 /regex/match/181 1254s ok 269 /regex/match/182 1254s ok 270 /regex/match/183 1254s ok 271 /regex/match/184 1254s ok 272 /regex/match/185 1254s ok 273 /regex/match/186 1254s ok 274 /regex/match/187 1254s ok 275 /regex/match/188 1254s ok 276 /regex/match/189 1254s ok 277 /regex/match/190 1254s ok 278 /regex/match/191 1254s ok 279 /regex/match/192 1254s ok 280 /regex/match/193 1254s ok 281 /regex/match/194 1254s ok 282 /regex/match/195 1254s ok 283 /regex/match/196 1254s ok 284 /regex/match/197 1254s ok 285 /regex/match/198 1254s ok 286 /regex/match/199 1254s ok 287 /regex/match/200 1254s ok 288 /regex/match/201 1254s ok 289 /regex/match/202 1254s ok 290 /regex/match/203 1254s ok 291 /regex/match/204 1254s ok 292 /regex/match/205 1254s ok 293 /regex/match/206 1254s ok 294 /regex/match/207 1254s ok 295 /regex/match/208 1254s ok 296 /regex/match/209 1254s ok 297 /regex/match/210 1254s ok 298 /regex/match/211 1254s ok 299 /regex/match/212 1254s ok 300 /regex/match/213 1254s ok 301 /regex/match/214 1254s ok 302 /regex/match/215 1254s ok 303 /regex/match/216 1254s ok 304 /regex/match/217 1254s ok 305 /regex/match/218 1254s ok 306 /regex/match/219 1254s ok 307 /regex/match/220 1254s ok 308 /regex/match/221 1254s ok 309 /regex/match/222 1254s ok 310 /regex/match/223 1254s ok 311 /regex/match/224 1254s ok 312 /regex/match/225 1254s ok 313 /regex/match/226 1254s ok 314 /regex/match/227 1254s ok 315 /regex/match/228 1254s ok 316 /regex/match/229 1254s ok 317 /regex/match/230 1254s ok 318 /regex/match/231 1254s ok 319 /regex/match/232 1254s ok 320 /regex/match/233 1254s ok 321 /regex/match/234 1254s ok 322 /regex/match/235 1254s ok 323 /regex/match/236 1254s ok 324 /regex/match/237 1254s ok 325 /regex/match/238 1254s ok 326 /regex/match/239 1254s ok 327 /regex/match/240 1254s ok 328 /regex/match/241 1254s ok 329 /regex/match/242 1254s ok 330 /regex/match/243 1254s ok 331 /regex/match/244 1254s ok 332 /regex/match/245 1254s ok 333 /regex/match/246 1254s ok 334 /regex/match/partial281 1254s ok 335 /regex/match/partial282 1254s ok 336 /regex/match/partial283 1254s ok 337 /regex/match/partial284 1254s ok 338 /regex/match/partial285 1254s ok 339 /regex/match/partial286 1254s ok 340 /regex/match/partial287 1254s ok 341 /regex/match/partial288 1254s ok 342 /regex/match/partial289 1254s ok 343 /regex/match/partial290 1254s ok 344 /regex/match/partial291 1254s ok 345 /regex/match/partial292 1254s ok 346 /regex/match/partial293 1254s ok 347 /regex/match/partial294 1254s ok 348 /regex/match/partial295 1254s ok 349 /regex/match/partial296 1254s ok 350 /regex/match/partial297 1254s ok 351 /regex/match/partial298 1254s ok 352 /regex/match/partial299 1254s ok 353 /regex/match/partial300 1254s ok 354 /regex/match/partial301 1254s ok 355 /regex/match/partial302 1254s # Start of next0 tests 1254s ok 356 /regex/match/next0/247 1254s ok 357 /regex/match/next0/248 1254s ok 358 /regex/match/next0/249 1254s ok 359 /regex/match/next0/250 1254s # End of next0 tests 1254s # Start of next1 tests 1254s ok 360 /regex/match/next1/251 1254s ok 361 /regex/match/next1/252 1254s ok 362 /regex/match/next1/253 1254s ok 363 /regex/match/next1/254 1254s ok 364 /regex/match/next1/255 1254s # End of next1 tests 1254s # Start of next2 tests 1254s ok 365 /regex/match/next2/256 1254s ok 366 /regex/match/next2/257 1254s ok 367 /regex/match/next2/258 1254s ok 368 /regex/match/next2/259 1254s ok 369 /regex/match/next2/260 1254s ok 370 /regex/match/next2/261 1254s ok 371 /regex/match/next2/262 1254s ok 372 /regex/match/next2/263 1254s # End of next2 tests 1254s # Start of next3 tests 1254s ok 373 /regex/match/next3/264 1254s ok 374 /regex/match/next3/265 1254s ok 375 /regex/match/next3/266 1254s ok 376 /regex/match/next3/267 1254s ok 377 /regex/match/next3/268 1254s ok 378 /regex/match/next3/269 1254s # End of next3 tests 1254s # Start of next4 tests 1254s ok 379 /regex/match/next4/270 1254s # End of next4 tests 1254s # Start of count tests 1254s ok 380 /regex/match/count/271 1254s ok 381 /regex/match/count/272 1254s ok 382 /regex/match/count/273 1254s ok 383 /regex/match/count/274 1254s ok 384 /regex/match/count/275 1254s ok 385 /regex/match/count/276 1254s ok 386 /regex/match/count/277 1254s ok 387 /regex/match/count/278 1254s ok 388 /regex/match/count/279 1254s ok 389 /regex/match/count/280 1254s # End of count tests 1254s # Start of count-optimized tests 1254s ok 390 /regex/match/count-optimized/271 1254s ok 391 /regex/match/count-optimized/272 1254s ok 392 /regex/match/count-optimized/273 1254s ok 393 /regex/match/count-optimized/274 1254s ok 394 /regex/match/count-optimized/275 1254s ok 395 /regex/match/count-optimized/276 1254s ok 396 /regex/match/count-optimized/277 1254s ok 397 /regex/match/count-optimized/278 1254s ok 398 /regex/match/count-optimized/279 1254s ok 399 /regex/match/count-optimized/280 1254s # End of count-optimized tests 1254s # Start of partial-optimized tests 1254s ok 400 /regex/match/partial-optimized/281 1254s ok 401 /regex/match/partial-optimized/282 1254s ok 402 /regex/match/partial-optimized/283 1254s ok 403 /regex/match/partial-optimized/284 1254s ok 404 /regex/match/partial-optimized/285 1254s ok 405 /regex/match/partial-optimized/286 1254s ok 406 /regex/match/partial-optimized/287 1254s ok 407 /regex/match/partial-optimized/288 1254s ok 408 /regex/match/partial-optimized/289 1254s ok 409 /regex/match/partial-optimized/290 1254s ok 410 /regex/match/partial-optimized/291 1254s ok 411 /regex/match/partial-optimized/292 1254s ok 412 /regex/match/partial-optimized/293 1254s ok 413 /regex/match/partial-optimized/294 1254s ok 414 /regex/match/partial-optimized/295 1254s ok 415 /regex/match/partial-optimized/296 1254s ok 416 /regex/match/partial-optimized/297 1254s ok 417 /regex/match/partial-optimized/298 1254s ok 418 /regex/match/partial-optimized/299 1254s ok 419 /regex/match/partial-optimized/300 1254s ok 420 /regex/match/partial-optimized/301 1254s ok 421 /regex/match/partial-optimized/302 1254s # End of partial-optimized tests 1254s # Start of subpattern tests 1254s ok 422 /regex/match/subpattern/303 1254s ok 423 /regex/match/subpattern/304 1254s ok 424 /regex/match/subpattern/305 1254s ok 425 /regex/match/subpattern/306 1254s ok 426 /regex/match/subpattern/307 1254s ok 427 /regex/match/subpattern/308 1254s ok 428 /regex/match/subpattern/309 1254s ok 429 /regex/match/subpattern/310 1254s ok 430 /regex/match/subpattern/311 1254s ok 431 /regex/match/subpattern/312 1254s ok 432 /regex/match/subpattern/313 1254s ok 433 /regex/match/subpattern/314 1254s ok 434 /regex/match/subpattern/315 1254s # Start of named tests 1254s # Start of dupnames tests 1254s ok 435 /regex/match/subpattern/named/dupnames/325 1254s ok 436 /regex/match/subpattern/named/dupnames/326 1254s ok 437 /regex/match/subpattern/named/dupnames/327 1254s ok 438 /regex/match/subpattern/named/dupnames/328 1254s ok 439 /regex/match/subpattern/named/dupnames/329 1254s # End of dupnames tests 1254s # End of named tests 1254s # End of subpattern tests 1254s # Start of subpattern-optimized tests 1254s ok 440 /regex/match/subpattern-optimized/303 1254s ok 441 /regex/match/subpattern-optimized/304 1254s ok 442 /regex/match/subpattern-optimized/305 1254s ok 443 /regex/match/subpattern-optimized/306 1254s ok 444 /regex/match/subpattern-optimized/307 1254s ok 445 /regex/match/subpattern-optimized/308 1254s ok 446 /regex/match/subpattern-optimized/309 1254s ok 447 /regex/match/subpattern-optimized/310 1254s ok 448 /regex/match/subpattern-optimized/311 1254s ok 449 /regex/match/subpattern-optimized/312 1254s ok 450 /regex/match/subpattern-optimized/313 1254s ok 451 /regex/match/subpattern-optimized/314 1254s ok 452 /regex/match/subpattern-optimized/315 1254s # End of subpattern-optimized tests 1254s # Start of named tests 1254s # Start of subpattern tests 1254s ok 453 /regex/match/named/subpattern/316 1254s ok 454 /regex/match/named/subpattern/317 1254s ok 455 /regex/match/named/subpattern/318 1254s ok 456 /regex/match/named/subpattern/319 1254s ok 457 /regex/match/named/subpattern/320 1254s ok 458 /regex/match/named/subpattern/321 1254s ok 459 /regex/match/named/subpattern/322 1254s ok 460 /regex/match/named/subpattern/323 1254s ok 461 /regex/match/named/subpattern/324 1254s ok 462 /regex/match/named/subpattern/330 1254s ok 463 /regex/match/named/subpattern/331 1254s ok 464 /regex/match/named/subpattern/332 1254s ok 465 /regex/match/named/subpattern/333 1254s ok 466 /regex/match/named/subpattern/334 1254s # End of subpattern tests 1254s # End of named tests 1254s # End of match tests 1254s # Start of match-optimized tests 1254s ok 467 /regex/match-optimized/165 1254s ok 468 /regex/match-optimized/166 1254s ok 469 /regex/match-optimized/167 1254s ok 470 /regex/match-optimized/168 1254s ok 471 /regex/match-optimized/169 1254s ok 472 /regex/match-optimized/170 1254s ok 473 /regex/match-optimized/171 1254s ok 474 /regex/match-optimized/172 1254s ok 475 /regex/match-optimized/173 1254s ok 476 /regex/match-optimized/174 1254s ok 477 /regex/match-optimized/175 1254s ok 478 /regex/match-optimized/176 1254s ok 479 /regex/match-optimized/177 1254s ok 480 /regex/match-optimized/178 1254s ok 481 /regex/match-optimized/179 1254s ok 482 /regex/match-optimized/180 1254s ok 483 /regex/match-optimized/181 1254s ok 484 /regex/match-optimized/182 1254s ok 485 /regex/match-optimized/183 1254s ok 486 /regex/match-optimized/184 1254s ok 487 /regex/match-optimized/185 1254s ok 488 /regex/match-optimized/186 1254s ok 489 /regex/match-optimized/187 1254s ok 490 /regex/match-optimized/188 1254s ok 491 /regex/match-optimized/189 1254s ok 492 /regex/match-optimized/190 1254s ok 493 /regex/match-optimized/191 1254s ok 494 /regex/match-optimized/192 1254s ok 495 /regex/match-optimized/193 1254s ok 496 /regex/match-optimized/194 1254s ok 497 /regex/match-optimized/195 1254s ok 498 /regex/match-optimized/196 1254s ok 499 /regex/match-optimized/197 1254s ok 500 /regex/match-optimized/198 1254s ok 501 /regex/match-optimized/199 1254s ok 502 /regex/match-optimized/200 1254s ok 503 /regex/match-optimized/201 1254s ok 504 /regex/match-optimized/202 1254s ok 505 /regex/match-optimized/203 1254s ok 506 /regex/match-optimized/204 1254s ok 507 /regex/match-optimized/205 1254s ok 508 /regex/match-optimized/206 1254s ok 509 /regex/match-optimized/207 1254s ok 510 /regex/match-optimized/208 1254s ok 511 /regex/match-optimized/209 1254s ok 512 /regex/match-optimized/210 1254s ok 513 /regex/match-optimized/211 1254s ok 514 /regex/match-optimized/212 1254s ok 515 /regex/match-optimized/213 1254s ok 516 /regex/match-optimized/214 1254s ok 517 /regex/match-optimized/215 1254s ok 518 /regex/match-optimized/216 1254s ok 519 /regex/match-optimized/217 1254s ok 520 /regex/match-optimized/218 1254s ok 521 /regex/match-optimized/219 1254s ok 522 /regex/match-optimized/220 1254s ok 523 /regex/match-optimized/221 1254s ok 524 /regex/match-optimized/222 1254s ok 525 /regex/match-optimized/223 1254s ok 526 /regex/match-optimized/224 1254s ok 527 /regex/match-optimized/225 1254s ok 528 /regex/match-optimized/226 1254s ok 529 /regex/match-optimized/227 1254s ok 530 /regex/match-optimized/228 1254s ok 531 /regex/match-optimized/229 1254s ok 532 /regex/match-optimized/230 1254s ok 533 /regex/match-optimized/231 1254s ok 534 /regex/match-optimized/232 1254s ok 535 /regex/match-optimized/233 1254s ok 536 /regex/match-optimized/234 1254s ok 537 /regex/match-optimized/235 1254s ok 538 /regex/match-optimized/236 1254s ok 539 /regex/match-optimized/237 1254s ok 540 /regex/match-optimized/238 1254s ok 541 /regex/match-optimized/239 1254s ok 542 /regex/match-optimized/240 1254s ok 543 /regex/match-optimized/241 1254s ok 544 /regex/match-optimized/242 1254s ok 545 /regex/match-optimized/243 1254s ok 546 /regex/match-optimized/244 1254s ok 547 /regex/match-optimized/245 1254s ok 548 /regex/match-optimized/246 1254s # End of match-optimized tests 1254s # Start of fetch-all0 tests 1254s ok 549 /regex/fetch-all0/335 1254s ok 550 /regex/fetch-all0/336 1254s # End of fetch-all0 tests 1254s # Start of fetch-all1 tests 1254s ok 551 /regex/fetch-all1/337 1254s ok 552 /regex/fetch-all1/338 1254s ok 553 /regex/fetch-all1/339 1254s # End of fetch-all1 tests 1254s # Start of fetch-all2 tests 1254s ok 554 /regex/fetch-all2/340 1254s ok 555 /regex/fetch-all2/341 1254s ok 556 /regex/fetch-all2/342 1254s # End of fetch-all2 tests 1254s # Start of fetch-all3 tests 1254s ok 557 /regex/fetch-all3/343 1254s ok 558 /regex/fetch-all3/344 1254s ok 559 /regex/fetch-all3/345 1254s ok 560 /regex/fetch-all3/346 1254s ok 561 /regex/fetch-all3/347 1254s # End of fetch-all3 tests 1254s # Start of split tests 1254s # Start of simple0 tests 1254s ok 562 /regex/split/simple0/348 1254s ok 563 /regex/split/simple0/349 1254s ok 564 /regex/split/simple0/364 1254s ok 565 /regex/split/simple0/365 1254s # End of simple0 tests 1254s # Start of simple1 tests 1254s ok 566 /regex/split/simple1/350 1254s ok 567 /regex/split/simple1/351 1254s # End of simple1 tests 1254s # Start of simple2 tests 1254s ok 568 /regex/split/simple2/352 1254s ok 569 /regex/split/simple2/358 1254s ok 570 /regex/split/simple2/360 1254s # End of simple2 tests 1254s # Start of simple3 tests 1254s ok 571 /regex/split/simple3/353 1254s ok 572 /regex/split/simple3/354 1254s ok 573 /regex/split/simple3/355 1254s ok 574 /regex/split/simple3/356 1254s ok 575 /regex/split/simple3/357 1254s ok 576 /regex/split/simple3/359 1254s ok 577 /regex/split/simple3/361 1254s ok 578 /regex/split/simple3/362 1254s ok 579 /regex/split/simple3/363 1254s # End of simple3 tests 1254s # End of split tests 1254s # Start of split0 tests 1254s ok 580 /regex/split0/366 1254s ok 581 /regex/split0/368 1254s # End of split0 tests 1254s # Start of full-split0 tests 1254s ok 582 /regex/full-split0/367 1254s ok 583 /regex/full-split0/369 1254s ok 584 /regex/full-split0/370 1254s ok 585 /regex/full-split0/371 1254s ok 586 /regex/full-split0/372 1254s # End of full-split0 tests 1254s # Start of split1 tests 1254s ok 587 /regex/split1/373 1254s ok 588 /regex/split1/376 1254s # End of split1 tests 1254s # Start of full-split1 tests 1254s ok 589 /regex/full-split1/374 1254s ok 590 /regex/full-split1/375 1254s ok 591 /regex/full-split1/377 1254s ok 592 /regex/full-split1/378 1254s ok 593 /regex/full-split1/404 1254s # End of full-split1 tests 1254s # Start of split2 tests 1254s ok 594 /regex/split2/379 1254s ok 595 /regex/split2/383 1254s ok 596 /regex/split2/395 1254s # End of split2 tests 1254s # Start of full-split2 tests 1254s ok 597 /regex/full-split2/380 1254s ok 598 /regex/full-split2/381 1254s ok 599 /regex/full-split2/382 1254s ok 600 /regex/full-split2/384 1254s ok 601 /regex/full-split2/396 1254s ok 602 /regex/full-split2/399 1254s ok 603 /regex/full-split2/405 1254s # End of full-split2 tests 1254s # Start of split3 tests 1254s ok 604 /regex/split3/385 1254s ok 605 /regex/split3/387 1254s ok 606 /regex/split3/389 1254s ok 607 /regex/split3/391 1254s ok 608 /regex/split3/393 1254s ok 609 /regex/split3/397 1254s ok 610 /regex/split3/400 1254s ok 611 /regex/split3/402 1254s # End of split3 tests 1254s # Start of full-split3 tests 1254s ok 612 /regex/full-split3/386 1254s ok 613 /regex/full-split3/388 1254s ok 614 /regex/full-split3/390 1254s ok 615 /regex/full-split3/392 1254s ok 616 /regex/full-split3/394 1254s ok 617 /regex/full-split3/398 1254s ok 618 /regex/full-split3/401 1254s ok 619 /regex/full-split3/403 1254s ok 620 /regex/full-split3/406 1254s ok 621 /regex/full-split3/407 1254s # End of full-split3 tests 1254s # Start of check-repacement tests 1254s ok 622 /regex/check-repacement/408 1254s ok 623 /regex/check-repacement/409 1254s ok 624 /regex/check-repacement/410 1254s ok 625 /regex/check-repacement/411 1254s ok 626 /regex/check-repacement/412 1254s ok 627 /regex/check-repacement/413 1254s ok 628 /regex/check-repacement/414 1254s ok 629 /regex/check-repacement/415 1254s # End of check-repacement tests 1254s # Start of expand tests 1254s ok 630 /regex/expand/416 1254s ok 631 /regex/expand/417 1254s ok 632 /regex/expand/418 1254s ok 633 /regex/expand/419 1254s ok 634 /regex/expand/420 1254s ok 635 /regex/expand/421 1254s ok 636 /regex/expand/422 1254s ok 637 /regex/expand/423 1254s ok 638 /regex/expand/424 1254s ok 639 /regex/expand/425 1254s ok 640 /regex/expand/426 1254s ok 641 /regex/expand/427 1254s ok 642 /regex/expand/428 1254s ok 643 /regex/expand/429 1254s ok 644 /regex/expand/430 1254s ok 645 /regex/expand/431 1254s ok 646 /regex/expand/432 1254s ok 647 /regex/expand/433 1254s ok 648 /regex/expand/434 1254s ok 649 /regex/expand/435 1254s ok 650 /regex/expand/436 1254s ok 651 /regex/expand/437 1254s ok 652 /regex/expand/438 1254s ok 653 /regex/expand/439 1254s ok 654 /regex/expand/440 1254s ok 655 /regex/expand/441 1254s ok 656 /regex/expand/442 1254s ok 657 /regex/expand/443 1254s ok 658 /regex/expand/444 1254s ok 659 /regex/expand/445 1254s ok 660 /regex/expand/446 1254s ok 661 /regex/expand/447 1254s ok 662 /regex/expand/448 1254s ok 663 /regex/expand/449 1254s ok 664 /regex/expand/450 1254s ok 665 /regex/expand/451 1254s ok 666 /regex/expand/452 1254s ok 667 /regex/expand/453 1254s ok 668 /regex/expand/454 1254s ok 669 /regex/expand/455 1254s ok 670 /regex/expand/456 1254s ok 671 /regex/expand/457 1254s ok 672 /regex/expand/458 1254s ok 673 /regex/expand/459 1254s ok 674 /regex/expand/460 1254s ok 675 /regex/expand/461 1254s ok 676 /regex/expand/462 1254s ok 677 /regex/expand/463 1254s ok 678 /regex/expand/464 1254s ok 679 /regex/expand/465 1254s ok 680 /regex/expand/466 1254s ok 681 /regex/expand/467 1254s ok 682 /regex/expand/468 1254s ok 683 /regex/expand/469 1254s ok 684 /regex/expand/470 1254s ok 685 /regex/expand/471 1254s ok 686 /regex/expand/472 1254s ok 687 /regex/expand/473 1254s ok 688 /regex/expand/474 1254s ok 689 /regex/expand/475 1254s ok 690 /regex/expand/476 1254s ok 691 /regex/expand/477 1254s ok 692 /regex/expand/478 1254s ok 693 /regex/expand/479 1254s ok 694 /regex/expand/480 1254s ok 695 /regex/expand/481 1254s # End of expand tests 1254s # Start of replace tests 1254s ok 696 /regex/replace/482 1254s ok 697 /regex/replace/483 1254s ok 698 /regex/replace/484 1254s ok 699 /regex/replace/485 1254s ok 700 /regex/replace/486 1254s ok 701 /regex/replace/487 1254s ok 702 /regex/replace/488 1254s ok 703 /regex/replace/489 1254s ok 704 /regex/replace/490 1254s ok 705 /regex/replace/491 1254s ok 706 /regex/replace/492 1254s ok 707 /regex/replace/493 1254s ok 708 /regex/replace/494 1254s ok 709 /regex/replace/495 1254s ok 710 /regex/replace/496 1254s ok 711 /regex/replace/497 1254s ok 712 /regex/replace/498 1254s ok 713 /regex/replace/499 1254s ok 714 /regex/replace/500 1254s ok 715 /regex/replace/501 1254s ok 716 /regex/replace/502 1254s ok 717 /regex/replace/503 1254s ok 718 /regex/replace/504 1254s ok 719 /regex/replace/505 1254s ok 720 /regex/replace/506 1254s ok 721 /regex/replace/507 1254s ok 722 /regex/replace/508 1254s ok 723 /regex/replace/509 1254s # End of replace tests 1254s # Start of replace-optimized tests 1254s ok 724 /regex/replace-optimized/482 1254s ok 725 /regex/replace-optimized/483 1254s ok 726 /regex/replace-optimized/484 1254s ok 727 /regex/replace-optimized/485 1254s ok 728 /regex/replace-optimized/486 1254s ok 729 /regex/replace-optimized/487 1254s ok 730 /regex/replace-optimized/488 1254s ok 731 /regex/replace-optimized/489 1254s ok 732 /regex/replace-optimized/490 1254s ok 733 /regex/replace-optimized/491 1254s ok 734 /regex/replace-optimized/492 1254s ok 735 /regex/replace-optimized/493 1254s ok 736 /regex/replace-optimized/494 1254s ok 737 /regex/replace-optimized/495 1254s ok 738 /regex/replace-optimized/496 1254s ok 739 /regex/replace-optimized/497 1254s ok 740 /regex/replace-optimized/498 1254s ok 741 /regex/replace-optimized/499 1254s ok 742 /regex/replace-optimized/500 1254s ok 743 /regex/replace-optimized/501 1254s ok 744 /regex/replace-optimized/502 1254s ok 745 /regex/replace-optimized/503 1254s ok 746 /regex/replace-optimized/504 1254s ok 747 /regex/replace-optimized/505 1254s ok 748 /regex/replace-optimized/506 1254s ok 749 /regex/replace-optimized/507 1254s ok 750 /regex/replace-optimized/508 1254s ok 751 /regex/replace-optimized/509 1254s # End of replace-optimized tests 1254s # Start of replace-literally tests 1254s ok 752 /regex/replace-literally/510 1254s ok 753 /regex/replace-literally/511 1254s ok 754 /regex/replace-literally/512 1254s ok 755 /regex/replace-literally/513 1254s ok 756 /regex/replace-literally/514 1254s ok 757 /regex/replace-literally/515 1254s ok 758 /regex/replace-literally/516 1254s ok 759 /regex/replace-literally/517 1254s ok 760 /regex/replace-literally/518 1254s ok 761 /regex/replace-literally/519 1254s ok 762 /regex/replace-literally/520 1254s ok 763 /regex/replace-literally/521 1254s ok 764 /regex/replace-literally/522 1254s ok 765 /regex/replace-literally/523 1254s ok 766 /regex/replace-literally/524 1254s ok 767 /regex/replace-literally/525 1254s ok 768 /regex/replace-literally/526 1254s ok 769 /regex/replace-literally/527 1254s ok 770 /regex/replace-literally/528 1254s ok 771 /regex/replace-literally/529 1254s # End of replace-literally tests 1254s # Start of string-number tests 1254s ok 772 /regex/string-number/530 1254s ok 773 /regex/string-number/531 1254s ok 774 /regex/string-number/532 1254s ok 775 /regex/string-number/533 1254s ok 776 /regex/string-number/534 1254s ok 777 /regex/string-number/535 1254s ok 778 /regex/string-number/536 1254s ok 779 /regex/string-number/537 1254s ok 780 /regex/string-number/538 1254s ok 781 /regex/string-number/539 1254s ok 782 /regex/string-number/540 1254s ok 783 /regex/string-number/541 1254s ok 784 /regex/string-number/542 1254s ok 785 /regex/string-number/543 1254s ok 786 /regex/string-number/544 1254s # End of string-number tests 1254s # Start of escape_nul tests 1254s ok 787 /regex/escape_nul/545 1254s ok 788 /regex/escape_nul/546 1254s ok 789 /regex/escape_nul/547 1254s ok 790 /regex/escape_nul/548 1254s ok 791 /regex/escape_nul/549 1254s ok 792 /regex/escape_nul/550 1254s ok 793 /regex/escape_nul/551 1254s ok 794 /regex/escape_nul/552 1254s ok 795 /regex/escape_nul/553 1254s ok 796 /regex/escape_nul/554 1254s ok 797 /regex/escape_nul/555 1254s ok 798 /regex/escape_nul/556 1254s ok 799 /regex/escape_nul/557 1254s ok 800 /regex/escape_nul/558 1254s ok 801 /regex/escape_nul/559 1254s # End of escape_nul tests 1254s # Start of escape tests 1254s ok 802 /regex/escape/560 1254s ok 803 /regex/escape/561 1254s ok 804 /regex/escape/562 1254s ok 805 /regex/escape/563 1254s ok 806 /regex/escape/564 1254s ok 807 /regex/escape/565 1254s ok 808 /regex/escape/566 1254s ok 809 /regex/escape/567 1254s ok 810 /regex/escape/568 1254s ok 811 /regex/escape/569 1254s ok 812 /regex/escape/570 1254s ok 813 /regex/escape/571 1254s ok 814 /regex/escape/572 1254s ok 815 /regex/escape/573 1254s ok 816 /regex/escape/574 1254s ok 817 /regex/escape/575 1254s ok 818 /regex/escape/576 1254s ok 819 /regex/escape/577 1254s # End of escape tests 1254s # Start of match-all0 tests 1254s ok 820 /regex/match-all0/578 1254s ok 821 /regex/match-all0/580 1254s # End of match-all0 tests 1254s # Start of match-all-full0 tests 1254s ok 822 /regex/match-all-full0/579 1254s ok 823 /regex/match-all-full0/581 1254s ok 824 /regex/match-all-full0/582 1254s ok 825 /regex/match-all-full0/583 1254s # End of match-all-full0 tests 1254s # Start of match-all1 tests 1254s ok 826 /regex/match-all1/584 1254s ok 827 /regex/match-all1/586 1254s ok 828 /regex/match-all1/591 1254s # End of match-all1 tests 1254s # Start of match-all-full1 tests 1254s ok 829 /regex/match-all-full1/585 1254s ok 830 /regex/match-all-full1/587 1254s ok 831 /regex/match-all-full1/588 1254s ok 832 /regex/match-all-full1/589 1254s ok 833 /regex/match-all-full1/590 1254s ok 834 /regex/match-all-full1/592 1254s # End of match-all-full1 tests 1254s # Start of match-all2 tests 1254s ok 835 /regex/match-all2/593 1254s ok 836 /regex/match-all2/595 1254s ok 837 /regex/match-all2/597 1254s # End of match-all2 tests 1254s # Start of match-all-full2 tests 1254s ok 838 /regex/match-all-full2/594 1254s ok 839 /regex/match-all-full2/596 1254s ok 840 /regex/match-all-full2/598 1254s # End of match-all-full2 tests 1254s # Start of match-all3 tests 1254s ok 841 /regex/match-all3/599 1254s ok 842 /regex/match-all3/601 1254s # End of match-all3 tests 1254s # Start of match-all-full3 tests 1254s ok 843 /regex/match-all-full3/600 1254s ok 844 /regex/match-all-full3/602 1254s # End of match-all-full3 tests 1254s # Start of match-notempty tests 1254s ok 845 /regex/match-notempty/603 1254s # End of match-notempty tests 1254s # Start of match-notempty-optimized tests 1254s ok 846 /regex/match-notempty-optimized/603 1254s # End of match-notempty-optimized tests 1254s # Start of match-notempty-atstart tests 1254s ok 847 /regex/match-notempty-atstart/604 1254s # End of match-notempty-atstart tests 1254s # Start of match-notempty-atstart-optimized tests 1254s ok 848 /regex/match-notempty-atstart-optimized/604 1254s # End of match-notempty-atstart-optimized tests 1254s # End of regex tests 1254s ok - glib/regex.test 1254s # Running test: glib/asyncqueue.test 1254s TAP version 14 1254s # random seed: R02Sc603af5d4f4f7d8eb936ef98d11d555a 1254s 1..7 1254s # Start of asyncqueue tests 1254s ok 1 /asyncqueue/basics 1254s ok 2 /asyncqueue/sort 1254s ok 3 /asyncqueue/destroy 1254s ok 4 /asyncqueue/threads 1254s ok 5 /asyncqueue/timed 1254s ok 6 /asyncqueue/remove 1254s ok 7 /asyncqueue/push_front 1254s # End of asyncqueue tests 1254s ok - glib/asyncqueue.test 1254s # Running test: glib/contexts.test 1254s TAP version 14 1254s # random seed: R02Sc479734af56834d3a01390c05332a2bf 1254s 1..5 1254s # Start of gio tests 1254s # Start of contexts tests 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1254s ok 1 /gio/contexts/thread-independence 1254s ok 2 /gio/contexts/context-independence 1254s # Start of context-specific tests 1254s ok 3 /gio/contexts/context-specific/identity 1254s ok 4 /gio/contexts/context-specific/emit 1254s ok 5 /gio/contexts/context-specific/emit-and-unref 1254s # End of context-specific tests 1254s # End of contexts tests 1254s # End of gio tests 1254s ok - glib/contexts.test 1254s # Running test: glib/proxy-test.test 1254s TAP version 14 1254s # random seed: R02Sba5e9d48442432ed4caf9d18ff826445 1254s 1..11 1254s # Start of proxy tests 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1254s ok 1 /proxy/direct_sync 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c6909e0 and GSocketClientAsyncConnectData 0xb8278c686270 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c6913f0 for GSocketClientAsyncConnectData 0xb8278c686270 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s ok 2 /proxy/direct_async 1254s ok 3 /proxy/single_sync 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c692cf0 and GSocketClientAsyncConnectData 0xb8278c691e40 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c693850 for GSocketClientAsyncConnectData 0xb8278c691e40 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s ok 4 /proxy/single_async 1254s ok 5 /proxy/multiple_sync 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c693580 and GSocketClientAsyncConnectData 0xb8278c693350 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c693ed0 for GSocketClientAsyncConnectData 0xb8278c693350 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c6938e0 for GSocketClientAsyncConnectData 0xb8278c693350 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s ok 6 /proxy/multiple_async 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1254s ok 7 /proxy/invalid-uris-sync 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c693c60 and GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1254s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c6932d0 and GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1254s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c6932d0 and GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c694200 for GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c692c60 and GSocketClientAsyncConnectData 0xb8278c694040 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c693650 for GSocketClientAsyncConnectData 0xb8278c694040 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s ok 8 /proxy/invalid-uris-async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c6932d0 and GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1254s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1254s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c692a00 and GSocketClientAsyncConnectData 0xb8278c694200 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c6943a0 for GSocketClientAsyncConnectData 0xb8278c694200 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1254s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c693c60 and GSocketClientAsyncConnectData 0xb8278c68da00 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c692e40 for GSocketClientAsyncConnectData 0xb8278c68da00 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s ok 9 /proxy/dns 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c693c60 and GSocketClientAsyncConnectData 0xb8278c694200 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c6940d0 for GSocketClientAsyncConnectData 0xb8278c694200 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1254s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c693c60 and GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c6946f0 for GSocketClientAsyncConnectData 0xb8278c693160 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1254s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1254s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8278c693c60 and GSocketClientAsyncConnectData 0xb8278c694200 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1254s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8278c694500 for GSocketClientAsyncConnectData 0xb8278c694200 1254s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1254s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1254s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1254s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1254s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1254s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1254s ok 10 /proxy/override 1254s ok 11 /proxy/enumerator-ports 1254s # End of proxy tests 1254s ok - glib/proxy-test.test 1254s # Running test: glib/private.test 1254s TAP version 14 1254s # random seed: R02Sd27db74b27b160cc872b68ba832dcf72 1254s 1..8 1254s # Start of thread tests 1254s ok 1 /thread/private1 1255s ok 2 /thread/private2 1255s # slow test /thread/private2 executed in 1.10 secs 1255s ok 3 /thread/private3 1255s ok 4 /thread/staticprivate1 1255s ok 5 /thread/staticprivate2 1255s ok 6 /thread/staticprivate3 1257s ok 7 /thread/staticprivate4 1257s # slow test /thread/staticprivate4 executed in 1.10 secs 1257s ok 8 /thread/staticprivate5 1257s # End of thread tests 1257s ok - glib/private.test 1257s # Running test: glib/search-utils.test 1257s TAP version 14 1257s # random seed: R02Sd13e86627e123cf77554b00badc1bbb7 1257s # GLib-DEBUG: Current user locale: C.UTF-8 1257s 1..6 1257s # Start of search tests 1257s # GLib-DEBUG: Started 1257s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1257s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1257s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1257s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1257s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1257s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1257s ok 1 /search/basic 1257s # GLib-DEBUG: Started 1257s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1257s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1257s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1257s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1257s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1257s ok 2 /search/composed 1257s # GLib-DEBUG: Started 1257s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1257s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1257s ok 3 /search/decomposed 1257s # GLib-DEBUG: Started 1257s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1257s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1257s ok 4 /search/turkish 1257s # GLib-DEBUG: Started 1257s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1257s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1257s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1257s ok 5 /search/c_locale_unicode 1257s # GLib-DEBUG: Started 1257s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1257s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1257s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1257s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1257s ok 6 /search/multi_words 1257s # End of search tests 1257s ok - glib/search-utils.test 1257s # Running test: glib/appmonitor.test 1257s TAP version 14 1257s # random seed: R02S4db1fa878a58e0ccca67c604b7bd2006 1257s 1..1 1257s # Start of monitor tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_TTGC02/monitor/app/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_TTGC02/monitor/app/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/runtime 1257s # Using data directory: /tmp/test_appmonitor_TTGC02/monitor/app/.dirs/data 1257s ok 1 /monitor/app 1257s # End of monitor tests 1257s ok - glib/appmonitor.test 1257s # Running test: glib/network-monitor.test 1257s TAP version 14 1257s # random seed: R02S29050bf210fde54a6fe02be8b605d373 1257s 1..4 1257s # Start of network-monitor tests 1257s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1257s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1257s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1257s ok 1 /network-monitor/default 1257s ok 2 /network-monitor/remove_default 1257s ok 3 /network-monitor/add_networks 1257s ok 4 /network-monitor/remove_networks 1257s # End of network-monitor tests 1257s ok - glib/network-monitor.test 1257s # Running test: glib/overflow.test 1257s TAP version 14 1257s # random seed: R02S034419443783d8a7a161154f31189b81 1257s 1..6 1257s # Start of glib tests 1257s # Start of checked-math tests 1257s ok 1 /glib/checked-math/guint-add 1257s ok 2 /glib/checked-math/guint-mul 1257s ok 3 /glib/checked-math/guint64-add 1257s ok 4 /glib/checked-math/guint64-mul 1257s ok 5 /glib/checked-math/gsize-add 1257s ok 6 /glib/checked-math/gsize-mul 1257s # End of checked-math tests 1257s # End of glib tests 1257s ok - glib/overflow.test 1257s # Running test: glib/dir.test 1257s TAP version 14 1257s # random seed: R02S6ba7b5bfbe11fafd076f6f199704a086 1257s 1..3 1257s # Start of dir tests 1257s ok 1 /dir/read 1257s ok 2 /dir/nonexisting 1257s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1257s ok 3 /dir/refcounting 1257s # End of dir tests 1257s ok - glib/dir.test 1257s # Running test: glib/file-thumbnail.test 1257s TAP version 14 1257s # random seed: R02S2f78021042648d49e9bc15dffb9160e2 1257s 1..7 1257s # Start of file-thumbnail tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/runtime 1257s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 1 /file-thumbnail/fail 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/runtime 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 2 /file-thumbnail/size-priority 1257s # Start of valid tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/runtime 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 3 /file-thumbnail/valid/normal 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/runtime 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 4 /file-thumbnail/valid/large 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/runtime 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 5 /file-thumbnail/valid/x-large 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/runtime 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 6 /file-thumbnail/valid/xx-large 1257s # End of valid tests 1257s # Start of unknown tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/runtime 1257s # Created test thumbnail at /tmp/test_file-thumbnail_O4BA02/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1257s ok 7 /file-thumbnail/unknown/super-large 1257s # End of unknown tests 1257s # End of file-thumbnail tests 1257s ok - glib/file-thumbnail.test 1257s # Running test: glib/unix-fd.test 1257s TAP version 14 1257s # random seed: R02Scb5f57468afb511315d887afa2461732 1257s 1..2 1257s # Start of unix-fd tests 1257s ok 1 /unix-fd/fd-list 1257s ok 2 /unix-fd/scm 1257s # End of unix-fd tests 1257s ok - glib/unix-fd.test 1257s # Running test: glib/properties-introspection.test 1257s TAP version 14 1257s # random seed: R02Sb9ee690713d628a799c02d294a988f2b 1257s 1..2 1257s # Start of properties tests 1257s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1257s ok 1 /properties/introspection 1257s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1257s ok 2 /properties/collision 1257s # End of properties tests 1257s ok - glib/properties-introspection.test 1257s # Running test: glib/value.test 1257s TAP version 14 1257s # random seed: R02S936fa5fc8d0e1f2407a3b19f52135c42 1257s 1..9 1257s # Start of value tests 1257s ok 1 /value/basic 1257s ok 2 /value/collection 1257s ok 3 /value/copying 1257s ok 4 /value/enum-transformation 1257s ok 5 /value/gtype 1257s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1257s ok 6 /value/string 1257s # Next: GObject object in GValue of GObject to GValue of GObject 1257s # Next: GObject object in GValue of GObject to GValue of TestInterface 1257s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1257s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1257s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1257s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1257s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1257s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1257s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1257s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1257s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1257s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1257s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1257s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1257s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1257s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1257s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1257s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1257s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1257s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1257s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1257s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1257s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1257s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1257s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1257s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1257s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1257s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1257s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1257s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1257s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1257s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1257s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1257s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1257s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1257s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1257s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1257s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1257s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1257s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1257s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1257s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1257s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1257s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1257s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1257s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1257s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1257s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1257s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1257s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1257s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1257s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1257s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1257s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1257s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1257s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1257s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1257s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1257s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1257s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1257s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1257s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1257s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1257s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1257s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1257s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1257s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1257s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1257s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1257s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1257s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1257s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1257s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1257s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1257s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1257s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1257s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1257s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1257s ok 7 /value/transform-object 1257s # Start of array tests 1257s ok 8 /value/array/basic 1257s ok 9 /value/array/sort-with-data 1257s # End of array tests 1257s # End of value tests 1257s ok - glib/value.test 1257s # Running test: glib/io-channel.test 1257s TAP version 14 1257s # random seed: R02Sdfb396c9b6a7b02348b4cda37d6faf2c 1257s 1..2 1257s # Start of io-channel tests 1257s # Line one 1257s # 1257s # Line two 1257s # 1257s # Line three 1257s # 1257s # /* Hello */ 1257s # 1257s # \x1234\x567890\x6666 1257s # 1257s # read 62 bytes, wrote 62 bytes 1257s ok 1 /io-channel/read-write 1257s # Start of read-line tests 1257s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1257s ok 2 /io-channel/read-line/embedded-nuls 1257s # End of read-line tests 1257s # End of io-channel tests 1257s ok - glib/io-channel.test 1257s # Running test: glib/642026-ec.test 1257s TAP version 14 1257s # random seed: R02S1e1821989e91901f801b89d5ce5077cb 1257s 1..1 1257s # Start of glib tests 1257s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1257s ok 1 /glib/642026 1257s # End of glib tests 1257s ok - glib/642026-ec.test 1257s # Running test: glib/slice.test 1257s TAP version 14 1257s # random seed: R02S3d35915f0d86174a8c8f7a79d4bbe007 1257s 1..3 1257s # Start of slice tests 1257s ok 1 /slice/copy 1257s ok 2 /slice/chain 1257s ok 3 /slice/allocate 1257s # End of slice tests 1257s ok - glib/slice.test 1257s # Running test: glib/memory-settings-backend.test 1257s TAP version 14 1257s # random seed: R02Sa1b12368dfed0a0b53c928a9732c396e 1257s 1..1 1257s # Start of memory-settings-backend tests 1257s ok 1 /memory-settings-backend/extension-point-registered 1257s # End of memory-settings-backend tests 1257s ok - glib/memory-settings-backend.test 1257s # Running test: glib/cxx-11.test 1257s TAP version 14 1257s # random seed: R02S3de667c499a50c759cc7539f5553a45f 1257s 1..2 1257s # Start of gtask tests 1257s # 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. 1257s ok 1 /gtask/name 1257s # Start of name tests 1257s # 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. 1257s ok 2 /gtask/name/macro-wrapper 1257s # End of name tests 1257s # End of gtask tests 1257s ok - glib/cxx-11.test 1257s # Running test: glib/gdbus-names.test 1257s TAP version 14 1257s # random seed: R02S4a627ddc6a086e706da94a6331108e75 1257s 1..10 1257s # Start of gdbus tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/validate-names/.dirs/runtime 1257s ok 1 /gdbus/validate-names 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-own-name/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 2 /gdbus/bus-own-name 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 3 /gdbus/bus-watch-name 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 4 /gdbus/bus-watch-name-auto-start 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s dbus-daemon[10511]: [session uid=1000 pid=10511] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=10502 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1257s # Acquired a message bus connection 1257s dbus-daemon[10511]: [session uid=1000 pid=10511] Successfully activated service 'org.gtk.GDBus.FakeService' 1257s # Acquired the name org.gtk.GDBus.FakeService 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 6 /gdbus/bus-watch-name-closures 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 7 /gdbus/bus-watch-name-closures-auto-start 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-watch-different-context/.dirs/runtime 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 8 /gdbus/bus-watch-different-context 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/bus-unwatch-early/.dirs/runtime 1257s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1257s ok 9 /gdbus/bus-unwatch-early 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GECO02/gdbus/escape-object-path/.dirs/runtime 1257s ok 10 /gdbus/escape-object-path 1257s # End of gdbus tests 1257s ok - glib/gdbus-names.test 1257s # Running test: glib/portal-support-snap.test 1257s TAP version 14 1257s # random seed: R02S032bd11a936470c9e7e2f5dc5bcb9bc0 1257s 1..7 1257s # Start of portal-support tests 1257s # Start of snap tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/no-snapctl: No such file or directory 1257s ok 1 /portal-support/snap/no-snapctl 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none/.dirs/runtime/snapctl 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/none: No such file or directory 1257s ok 2 /portal-support/snap/none 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all/.dirs/runtime/snapctl 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/all: No such file or directory 1257s ok 3 /portal-support/snap/all 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/desktop-only: No such file or directory 1257s ok 4 /portal-support/snap/desktop-only 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only/.dirs/runtime/snapctl 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/network-only: No such file or directory 1257s ok 5 /portal-support/snap/network-only 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/gsettings-only: No such file or directory 1257s ok 6 /portal-support/snap/gsettings-only 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime 1257s # Created snap.yaml in /tmp/test_portal-support-snap_Q10M02/meta/snap.yaml 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s # Created snapctl in /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02/portal-support/snap/updates-dynamically: No such file or directory 1257s ok 7 /portal-support/snap/updates-dynamically 1257s # End of snap tests 1257s # End of portal-support tests 1257s Unable to clean up temporary directory /tmp/test_portal-support-snap_Q10M02: No such file or directory 1257s ok - glib/portal-support-snap.test 1257s # Running test: glib/markup.test 1257s TAP version 14 1257s # random seed: R02S24824f64512056396c445cb74f3bd12c 1257s 1..1 1257s # Start of markup tests 1257s ok 1 /markup/stack 1257s # End of markup tests 1257s ok - glib/markup.test 1257s # Running test: glib/win32-appinfo.test 1257s TAP version 14 1257s # random seed: R02Se38203078734d1e8c9ce53df30f8a833 1257s 1..5 1257s # Start of appinfo tests 1257s ok 1 /appinfo/utf16-strfuncs 1257s ok 2 /appinfo/win32-extract-executable 1257s ok 3 /appinfo/win32-rundll32-fixup 1257s ok 4 /appinfo/win32-parse-filename 1257s ok 5 /appinfo/win32-utf16-conversion-fail 1257s # Start of subprocess tests 1257s # End of subprocess tests 1257s # End of appinfo tests 1257s ok - glib/win32-appinfo.test 1257s # Running test: glib/thread-deprecated.test 1257s TAP version 14 1257s # random seed: R02S7d90cf6f01dd26401608d9c1d16eb987 1257s 1..6 1257s # Start of thread tests 1257s ok 1 /thread/mutex 1258s ok 2 /thread/static-rec-mutex 1258s # Executing: glib/thread-deprecated.test 1262s ok 3 /thread/static-private 1262s # slow test /thread/static-private executed in 4.40 secs 1263s # Executing: glib/thread-deprecated.test 1267s ok 4 /thread/static-rw-lock 1267s # slow test /thread/static-rw-lock executed in 5.00 secs 1267s ok 5 /thread/once 1268s # Executing: glib/thread-deprecated.test 1273s # Executing: glib/thread-deprecated.test 1277s ok 6 /thread/rerun-all 1277s # slow test /thread/rerun-all executed in 9.82 secs 1277s # End of thread tests 1277s ok - glib/thread-deprecated.test 1277s # Running test: glib/static-link.test 1277s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1277s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1277s and make sure you have glib build dependencies installed, including 1277s meson. 1277s ok # SKIP - glib/static-link.test 1277s # Running test: glib/string.test 1277s TAP version 14 1277s # random seed: R02S2c728745d59679d7374123dd4a0f1eb8 1277s 1..23 1277s # Start of string tests 1277s ok 1 /string/test-string-chunks 1277s ok 2 /string/test-string-chunk-insert 1277s ok 3 /string/test-string-new 1277s ok 4 /string/test-string-printf 1277s ok 5 /string/test-string-assign 1277s ok 6 /string/test-string-append-c 1277s ok 7 /string/test-string-append 1277s ok 8 /string/test-string-append-vprintf 1277s ok 9 /string/test-string-prepend-c 1277s ok 10 /string/test-string-prepend 1277s ok 11 /string/test-string-insert 1277s ok 12 /string/test-string-insert-unichar 1277s ok 13 /string/test-string-equal 1277s ok 14 /string/test-string-truncate 1277s ok 15 /string/test-string-overwrite 1277s ok 16 /string/test-string-nul-handling 1277s ok 17 /string/test-string-up-down 1277s ok 18 /string/test-string-set-size 1277s ok 19 /string/test-string-to-bytes 1277s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1277s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1277s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1277s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1277s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1277s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1277s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1277s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1277s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1277s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1277s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1277s # -> 4 replacements, "fd fr fals" 1277s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1277s # -> 3 replacements, "aaaaaaaaa" 1277s # 7: Replacing "a" with "" (limit 0) in "aaa" 1277s # -> 3 replacements, "" 1277s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1277s # -> 1 replacements, "bba" 1277s # 9: Replacing "" with "bar" (limit 0) in "foo" 1277s # -> 4 replacements, "barfbarobarobar" 1277s # 10: Replacing "" with "x" (limit 0) in "" 1277s # -> 1 replacements, "x" 1277s # 11: Replacing "" with "" (limit 0) in "" 1277s # -> 1 replacements, "" 1277s ok 20 /string/test-string-replace 1277s ok 21 /string/test-string-steal 1277s ok 22 /string/test-string-new-take 1277s # Start of test-string-new-take tests 1277s ok 23 /string/test-string-new-take/null 1277s # End of test-string-new-take tests 1277s # End of string tests 1277s ok - glib/string.test 1277s # Running test: glib/gdbus-proxy-unique-name.test 1277s TAP version 14 1277s # random seed: R02Sa758f1892e0f52c976fcd00fde0adf25 1277s 1..1 1277s # Start of gdbus tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_LYJM02/gdbus/proxy-unique-name/.dirs/runtime 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 1 /gdbus/proxy-unique-name 1277s # End of gdbus tests 1277s ok - glib/gdbus-proxy-unique-name.test 1277s # Running test: glib/io-channel-basic.test 1277s TAP version 14 1277s # random seed: R02Sb04954188291941846979cc9d8de0722 1277s 1..1 1277s # Start of gio tests 1277s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1277s # random seed: R02S32f1bae7ae0defde7343390a2cb3e894 1277s # GLib-DEBUG: io-channel-basic: child writing 8+1640 bytes to 6 1277s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1277s # GLib-DEBUG: io-channel-basic: ...from 5: 1640 bytes 1277s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1277s # GLib-DEBUG: io-channel-basic: child writing 8+198 bytes to 6 1277s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1277s # GLib-DEBUG: io-channel-basic: ...from 5: 198 bytes 1277s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1278s # GLib-DEBUG: io-channel-basic: child writing 8+2262 bytes to 6 1278s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1278s # GLib-DEBUG: io-channel-basic: ...from 5: 2262 bytes 1278s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1278s # Executing: glib/io-channel-basic.test 1278s # GLib-DEBUG: io-channel-basic: child writing 8+211 bytes to 6 1278s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1278s # GLib-DEBUG: io-channel-basic: ...from 5: 211 bytes 1278s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1278s # GLib-DEBUG: io-channel-basic: child writing 8+3143 bytes to 6 1278s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1278s # GLib-DEBUG: io-channel-basic: ...from 5: 3143 bytes 1278s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1279s # GLib-DEBUG: io-channel-basic: child writing 8+4351 bytes to 6 1279s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1279s # GLib-DEBUG: io-channel-basic: ...from 5: 4351 bytes 1279s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1279s # GLib-DEBUG: io-channel-basic: child writing 8+3046 bytes to 6 1279s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1279s # GLib-DEBUG: io-channel-basic: ...from 5: 3046 bytes 1279s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1279s # GLib-DEBUG: io-channel-basic: child writing 8+3364 bytes to 6 1279s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1279s # GLib-DEBUG: io-channel-basic: ...from 5: 3364 bytes 1279s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1279s # GLib-DEBUG: io-channel-basic: child writing 8+3734 bytes to 6 1279s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1279s # GLib-DEBUG: io-channel-basic: ...from 5: 3734 bytes 1279s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1280s # GLib-DEBUG: io-channel-basic: child writing 8+3005 bytes to 6 1280s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1280s # GLib-DEBUG: io-channel-basic: ...from 5: 3005 bytes 1280s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1280s # GLib-DEBUG: io-channel-basic: child writing 8+232 bytes to 6 1280s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1280s # GLib-DEBUG: io-channel-basic: ...from 5: 232 bytes 1280s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1280s # GLib-DEBUG: io-channel-basic: child writing 8+484 bytes to 6 1280s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1280s # GLib-DEBUG: io-channel-basic: ...from 5: 484 bytes 1280s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1280s # GLib-DEBUG: io-channel-basic: child writing 8+651 bytes to 6 1280s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1280s # GLib-DEBUG: io-channel-basic: ...from 5: 651 bytes 1280s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1281s # GLib-DEBUG: io-channel-basic: child writing 8+1985 bytes to 6 1281s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1281s # GLib-DEBUG: io-channel-basic: ...from 5: 1985 bytes 1281s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1281s # GLib-DEBUG: io-channel-basic: child writing 8+2645 bytes to 6 1281s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1281s # GLib-DEBUG: io-channel-basic: ...from 5: 2645 bytes 1281s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1281s # GLib-DEBUG: io-channel-basic: child writing 8+3588 bytes to 6 1281s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1281s # GLib-DEBUG: io-channel-basic: ...from 5: 3588 bytes 1281s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1281s # GLib-DEBUG: io-channel-basic: child writing 8+14 bytes to 6 1281s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1281s # GLib-DEBUG: io-channel-basic: ...from 5: 14 bytes 1281s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1282s # GLib-DEBUG: io-channel-basic: child writing 8+3989 bytes to 6 1282s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1282s # GLib-DEBUG: io-channel-basic: ...from 5: 3989 bytes 1282s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1282s # GLib-DEBUG: io-channel-basic: child writing 8+3683 bytes to 6 1282s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1282s # GLib-DEBUG: io-channel-basic: ...from 5: 3683 bytes 1282s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1282s # GLib-DEBUG: io-channel-basic: child writing 8+4102 bytes to 6 1282s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1282s # GLib-DEBUG: io-channel-basic: ...from 5: 4102 bytes 1282s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1282s # GLib-DEBUG: io-channel-basic: child writing 8+1469 bytes to 6 1282s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1282s # GLib-DEBUG: io-channel-basic: ...from 5: 1469 bytes 1282s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+1264 bytes to 6 1283s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1283s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1283s # GLib-DEBUG: io-channel-basic: ...from 5: 1264 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1283s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1283s # random seed: R02S3a5b54b786d001e1bf5b0a0262e2e44c 1283s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1283s # random seed: R02Sf32dfbaa6025a3c8349b23afef3b7996 1283s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1283s # random seed: R02S108fdcd2e4159dd7f4a3a8ae8a54117d 1283s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1283s # random seed: R02S5411254f2b6dc65b019f5f3af90c6146 1283s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1283s # random seed: R02S372f08d2ae4d859a376c8eb6af1aabaa 1283s # Executing: glib/io-channel-basic.test 1283s # GLib-DEBUG: io-channel-basic: child writing 8+3128 bytes to 9 1283s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1283s # GLib-DEBUG: io-channel-basic: child writing 8+1213 bytes to 17 1283s # GLib-DEBUG: io-channel-basic: ...from 8: 3128 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1283s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 16: 1213 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+1766 bytes to 13 1283s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 12: 1766 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+990 bytes to 11 1283s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 10: 990 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+875 bytes to 15 1283s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 14: 875 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+4109 bytes to 17 1283s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 16: 4109 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+3530 bytes to 11 1283s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 10: 3530 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+1512 bytes to 15 1283s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 14: 1512 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+1814 bytes to 9 1283s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 8: 1814 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1283s # GLib-DEBUG: io-channel-basic: child writing 8+1916 bytes to 13 1283s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1283s # GLib-DEBUG: io-channel-basic: ...from 12: 1916 bytes 1283s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+3132 bytes to 17 1284s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 16: 3132 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+1639 bytes to 15 1284s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 14: 1639 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+2230 bytes to 11 1284s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 10: 2230 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+4063 bytes to 9 1284s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 8: 4063 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+3212 bytes to 13 1284s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 12: 3212 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+4611 bytes to 17 1284s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 16: 4611 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+4900 bytes to 11 1284s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 10: 4900 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+1015 bytes to 15 1284s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 14: 1015 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+722 bytes to 13 1284s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 12: 722 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+4572 bytes to 9 1284s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 8: 4572 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+1778 bytes to 17 1284s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 16: 1778 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+1589 bytes to 11 1284s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 10: 1589 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+3739 bytes to 15 1284s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 14: 3739 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+619 bytes to 13 1284s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 12: 619 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+4742 bytes to 9 1284s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 8: 4742 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+4199 bytes to 17 1284s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 16: 4199 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+2550 bytes to 11 1284s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 10: 2550 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+572 bytes to 13 1284s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 12: 572 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+1539 bytes to 15 1284s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 14: 1539 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1284s # GLib-DEBUG: io-channel-basic: child writing 8+2727 bytes to 9 1284s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1284s # GLib-DEBUG: io-channel-basic: ...from 8: 2727 bytes 1284s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+1707 bytes to 11 1285s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 10: 1707 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+3284 bytes to 17 1285s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 16: 3284 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2754 bytes to 13 1285s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 12: 2754 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+3792 bytes to 15 1285s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 14: 3792 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+4388 bytes to 9 1285s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 8: 4388 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+4565 bytes to 13 1285s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 12: 4565 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+1510 bytes to 17 1285s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 16: 1510 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+3170 bytes to 11 1285s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 10: 3170 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+856 bytes to 15 1285s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 14: 856 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+1518 bytes to 9 1285s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 8: 1518 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2899 bytes to 17 1285s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 16: 2899 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2268 bytes to 13 1285s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 12: 2268 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2693 bytes to 15 1285s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 14: 2693 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+1556 bytes to 11 1285s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 10: 1556 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2478 bytes to 9 1285s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 8: 2478 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+3020 bytes to 17 1285s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 16: 3020 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2277 bytes to 13 1285s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 12: 2277 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+4978 bytes to 15 1285s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 14: 4978 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+2908 bytes to 11 1285s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 10: 2908 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1285s # GLib-DEBUG: io-channel-basic: child writing 8+4539 bytes to 9 1285s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1285s # GLib-DEBUG: io-channel-basic: ...from 8: 4539 bytes 1285s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1183 bytes to 17 1286s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 16: 1183 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+3945 bytes to 13 1286s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 12: 3945 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+2678 bytes to 15 1286s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 14: 2678 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+189 bytes to 11 1286s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 10: 189 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+534 bytes to 9 1286s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 8: 534 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+2814 bytes to 13 1286s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 12: 2814 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1966 bytes to 17 1286s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 16: 1966 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+2480 bytes to 15 1286s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 14: 2480 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1822 bytes to 11 1286s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 10: 1822 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+4935 bytes to 9 1286s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 8: 4935 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1837 bytes to 17 1286s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 16: 1837 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1225 bytes to 13 1286s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 12: 1225 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+3432 bytes to 15 1286s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 14: 3432 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1319 bytes to 11 1286s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 10: 1319 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+3312 bytes to 9 1286s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 8: 3312 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+4416 bytes to 13 1286s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 12: 4416 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+1626 bytes to 17 1286s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 16: 1626 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+2368 bytes to 15 1286s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 14: 2368 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+3150 bytes to 9 1286s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 8: 3150 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1286s # GLib-DEBUG: io-channel-basic: child writing 8+400 bytes to 11 1286s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1286s # GLib-DEBUG: io-channel-basic: ...from 10: 400 bytes 1286s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+4307 bytes to 13 1287s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 12: 4307 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+4382 bytes to 17 1287s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 16: 4382 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+96 bytes to 11 1287s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 10: 96 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+1526 bytes to 15 1287s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 14: 1526 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+4728 bytes to 9 1287s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 8: 4728 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+1189 bytes to 13 1287s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 12: 1189 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+2377 bytes to 17 1287s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 16: 2377 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+3386 bytes to 9 1287s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 8: 3386 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+3004 bytes to 15 1287s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 14: 3004 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+2001 bytes to 11 1287s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 10: 2001 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+1963 bytes to 13 1287s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 12: 1963 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+824 bytes to 17 1287s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 16: 824 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+2171 bytes to 9 1287s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 8: 2171 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+3133 bytes to 11 1287s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 10: 3133 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+351 bytes to 15 1287s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 14: 351 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+794 bytes to 13 1287s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 12: 794 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+721 bytes to 9 1287s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 8: 721 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+3139 bytes to 17 1287s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 16: 3139 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+540 bytes to 11 1287s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 10: 540 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1287s # GLib-DEBUG: io-channel-basic: child writing 8+3855 bytes to 15 1287s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1287s # GLib-DEBUG: io-channel-basic: ...from 14: 3855 bytes 1287s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3881 bytes to 13 1288s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 12: 3881 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+685 bytes to 9 1288s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 8: 685 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+2071 bytes to 17 1288s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 16: 2071 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+328 bytes to 11 1288s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 10: 328 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3148 bytes to 15 1288s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 14: 3148 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1288s # Executing: glib/io-channel-basic.test 1288s # GLib-DEBUG: io-channel-basic: child writing 8+922 bytes to 13 1288s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 12: 922 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3233 bytes to 9 1288s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 8: 3233 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+1757 bytes to 11 1288s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 10: 1757 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+4743 bytes to 17 1288s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 16: 4743 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+780 bytes to 15 1288s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 14: 780 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+4238 bytes to 13 1288s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 12: 4238 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3144 bytes to 9 1288s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 8: 3144 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3381 bytes to 11 1288s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 10: 3381 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3198 bytes to 17 1288s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1288s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1288s # GLib-DEBUG: io-channel-basic: ...from 16: 3198 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+3157 bytes to 15 1288s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 14: 3157 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+273 bytes to 9 1288s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 8: 273 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+4688 bytes to 13 1288s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 12: 4688 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1288s # GLib-DEBUG: io-channel-basic: child writing 8+948 bytes to 11 1288s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1288s # GLib-DEBUG: io-channel-basic: ...from 10: 948 bytes 1288s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+4879 bytes to 15 1289s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1289s # GLib-DEBUG: io-channel-basic: ...from 14: 4879 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+3615 bytes to 9 1289s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1289s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1289s # GLib-DEBUG: io-channel-basic: ...from 8: 3615 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+7 bytes to 15 1289s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1289s # GLib-DEBUG: io-channel-basic: ...from 14: 7 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+1501 bytes to 11 1289s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1289s # GLib-DEBUG: io-channel-basic: ...from 10: 1501 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+3890 bytes to 13 1289s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1289s # GLib-DEBUG: io-channel-basic: ...from 12: 3890 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+1203 bytes to 15 1289s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1289s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1289s # GLib-DEBUG: io-channel-basic: ...from 14: 1203 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1289s # GLib-DEBUG: io-channel-basic: child writing 8+3630 bytes to 13 1289s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1289s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1289s # GLib-DEBUG: io-channel-basic: ...from 12: 3630 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1289s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 1289s # GLib-DEBUG: io-channel-basic: child writing 8+297 bytes to 11 1289s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1289s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1289s # GLib-DEBUG: io-channel-basic: ...from 10: 297 bytes 1289s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1289s ok 1 /gio/io-basics 1289s # slow test /gio/io-basics executed in 12.07 secs 1289s # End of gio tests 1289s ok - glib/io-channel-basic.test 1289s # Running test: glib/thread-pool-slow.test 1289s TAP version 14 1289s # random seed: R02S604427158d49b6e37d9d6adae797be13 1289s 1..7 1289s # Start of threadpool tests 1289s ok 1 /threadpool/functions 1290s ok 2 /threadpool/stop-unused 1290s # slow test /threadpool/stop-unused executed in 0.51 secs 1290s ok 3 /threadpool/pools 1290s # [unsorted] ===> pushed new thread with id:83, number of threads:1, unprocessed:1 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:2, unprocessed:2 1290s # [unsorted] ===> pushed new thread with id:32, number of threads:3, unprocessed:3 1290s # [unsorted] ===> pushed new thread with id:87, number of threads:4, unprocessed:4 1290s # [unsorted] ===> pushed new thread with id:60, number of threads:5, unprocessed:5 1290s # [unsorted] ===> pushed new thread with id:48, number of threads:6, unprocessed:6 1290s # [unsorted] ===> pushed new thread with id:15, number of threads:7, unprocessed:7 1290s # [unsorted] ===> pushed new thread with id:11, number of threads:8, unprocessed:8 1290s # [unsorted] ===> pushed new thread with id:85, number of threads:9, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:8 1290s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:8 1290s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:11 1290s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:12 1290s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:13 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:14 1290s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:15 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:16 1290s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:17 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:18 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:19 1290s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:20 1290s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:21 1290s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:22 1290s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:23 1290s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:24 1290s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:25 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:26 1290s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:27 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:28 1290s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:29 1290s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:30 1290s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:31 1290s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:32 1290s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:33 1290s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:34 1290s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:35 1290s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:36 1290s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:37 1290s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:38 1290s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:39 1290s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:40 1290s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:41 1290s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:42 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:43 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:44 1290s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:45 1290s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:46 1290s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:47 1290s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:48 1290s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:49 1290s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:50 1290s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:51 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:52 1290s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:53 1290s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:54 1290s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:55 1290s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:56 1290s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:57 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:58 1290s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:59 1290s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:60 1290s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:61 1290s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:62 1290s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:63 1290s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:64 1290s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:65 1290s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:66 1290s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:67 1290s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:68 1290s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:69 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:70 1290s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:71 1290s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:72 1290s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:73 1290s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:74 1290s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:75 1290s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:76 1290s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:77 1290s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:78 1290s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:79 1290s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:80 1290s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:81 1290s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:82 1290s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:83 1290s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:84 1290s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:85 1290s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:86 1290s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:87 1290s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:88 1290s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:89 1290s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:90 1290s ok 4 /threadpool/no-sort 1290s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:1 1290s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:2 1290s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:3 1290s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:4 1290s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:5 1290s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:6 1290s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:7 1290s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:8 1290s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:9 1290s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:10 1290s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:11 1290s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:12 1290s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:13 1290s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:14 1290s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:15 1290s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:16 1290s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:17 1290s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:18 1290s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:19 1290s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:20 1290s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:21 1290s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:22 1290s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:23 1290s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:24 1290s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:25 1290s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:26 1290s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:27 1290s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:28 1290s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:29 1290s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:30 1290s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:31 1290s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:32 1290s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:33 1290s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:34 1290s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:35 1290s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:36 1290s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:37 1290s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:38 1290s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:39 1290s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:40 1290s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:41 1290s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:42 1290s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:43 1290s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:44 1290s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:45 1290s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:46 1290s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:47 1290s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:48 1290s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:49 1290s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:50 1290s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:51 1290s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:52 1290s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:53 1290s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:54 1290s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:55 1290s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:56 1290s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:57 1290s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:58 1290s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:59 1290s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:60 1290s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:61 1290s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:62 1290s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:63 1290s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:64 1290s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:65 1290s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:66 1290s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:67 1290s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:68 1290s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:69 1290s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:70 1290s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:71 1290s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:72 1290s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:73 1290s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:74 1290s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:75 1290s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:76 1290s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:77 1290s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:78 1290s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:79 1290s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:80 1290s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:81 1290s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:82 1290s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:83 1290s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:84 1290s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:85 1290s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:86 1290s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:87 1290s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:88 1290s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:89 1290s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:90 1290s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:91 1290s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:92 1290s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:93 1290s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:94 1290s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:95 1290s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:96 1290s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:97 1290s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:98 1290s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:99 1290s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:100 1290s # Starting thread pool processing 1290s ok 5 /threadpool/sort 1290s ok 6 /threadpool/stop-unused-multiple 1290s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1290s # Pool idle thread count: 0, unprocessed jobs: 40 1291s # Pool idle thread count: 0, unprocessed jobs: 0 1291s # Pool idle thread count: 0, 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 # 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 # Executing: glib/thread-pool-slow.test 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: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 0 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 # Executing: glib/thread-pool-slow.test 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 10, unprocessed jobs: 2 1299s # Pool idle thread count: 10, unprocessed jobs: 2 1299s # Pool idle thread count: 8, unprocessed jobs: 0 1299s # Pool idle thread count: 8, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 0 1301s # Pool idle thread count: 10, unprocessed jobs: 0 1301s # Pool idle thread count: 10, 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 # 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 # Executing: glib/thread-pool-slow.test 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 # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Executing: glib/thread-pool-slow.test 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1310s ok 7 /threadpool/idle-time 1310s # slow test /threadpool/idle-time executed in 19.53 secs 1310s # End of threadpool tests 1310s ok - glib/thread-pool-slow.test 1310s # Running test: glib/macros-c-11.test 1310s TAP version 14 1310s # random seed: R02Scce363ef8df6818ab12a2a953ac31848 1310s 1..4 1310s # Start of C tests 1310s ok 1 /C/standard-11 1310s # End of C tests 1310s # Start of alignof tests 1310s ok 2 /alignof/fallback 1310s # End of alignof tests 1310s # Start of assert tests 1310s ok 3 /assert/static 1310s # End of assert tests 1310s # Start of struct tests 1310s ok 4 /struct/sizeof_member 1310s # End of struct tests 1310s ok - glib/macros-c-11.test 1310s # Running test: glib/gdbus-serialization.test 1310s TAP version 14 1310s # random seed: R02S6fb4e0a9906e471036621fb2f09170a4 1310s 1..18 1310s # Start of gdbus tests 1310s # Start of message-serialize tests 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/basic/.dirs/runtime 1310s ok 1 /gdbus/message-serialize/basic 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/complex/.dirs/runtime 1310s ok 2 /gdbus/message-serialize/complex 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/invalid/.dirs/runtime 1310s ok 3 /gdbus/message-serialize/invalid 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/.dirs/runtime 1310s ok 4 /gdbus/message-serialize/header-checks 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/double-array/.dirs/runtime 1310s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1310s ok 5 /gdbus/message-serialize/double-array 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/empty-structure/.dirs/runtime 1310s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1310s ok 6 /gdbus/message-serialize/empty-structure 1310s # Start of header-checks tests 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1310s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1310s ok 7 /gdbus/message-serialize/header-checks/valid 1310s # End of header-checks tests 1310s # End of message-serialize tests 1310s # Start of message-parse tests 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1310s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1310s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/non-signature-header/.dirs/runtime 1310s ok 9 /gdbus/message-parse/non-signature-header 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-signature-header/.dirs/runtime 1310s ok 10 /gdbus/message-parse/empty-signature-header 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1310s ok 11 /gdbus/message-parse/multiple-signature-header 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1310s ok 12 /gdbus/message-parse/over-long-signature-header 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1310s ok 13 /gdbus/message-parse/deep-header-nesting 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1310s ok 14 /gdbus/message-parse/deep-body-nesting 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/truncated/.dirs/runtime 1310s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1310s ok 15 /gdbus/message-parse/truncated 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/empty-structure/.dirs/runtime 1310s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1310s ok 16 /gdbus/message-parse/empty-structure 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/missing-header/.dirs/runtime 1310s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1310s ok 17 /gdbus/message-parse/missing-header 1310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/home 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/cache 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/config 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/data 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/state 1310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_LFUF02/gdbus/message-parse/invalid-header-type/.dirs/runtime 1310s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1310s ok 18 /gdbus/message-parse/invalid-header-type 1310s # End of message-parse tests 1310s # End of gdbus tests 1310s ok - glib/gdbus-serialization.test 1310s # Running test: glib/testing.test 1310s TAP version 14 1310s # random seed: R02S42627335d20adc8db05feec3c31f4501 1310s 1..1 1310s # Start of assert tests 1310s ok 1 /assert/finalize_object 1310s # Start of finalize_object tests 1310s # Start of subprocess tests 1310s # End of subprocess tests 1310s # End of finalize_object tests 1310s # End of assert tests 1310s ok - glib/testing.test 1310s # Running test: glib/override.test 1310s TAP version 14 1310s # random seed: R02S8f65565bd2443cfbf11b9dea4e1bbcd4 1310s 1..1 1310s # Start of gobject tests 1310s # *** emitting foo on a TestA instance 1310s # Expecting: TestA::foo,TestI::foo 1310s # Got: TestA::foo,TestI::foo 1310s # *** emitting bar on a TestA instance 1310s # Expecting: TestA::bar 1310s # Got: TestA::bar 1310s # *** emitting baz on a TestA instance 1310s # Expecting: TestA::baz 1310s # Got: TestA::baz 1310s # *** emitting foo on a TestB instance 1310s # Expecting: TestB::foo,TestA::foo,TestI::foo 1310s # Got: TestB::foo,TestA::foo,TestI::foo 1310s # *** emitting bar on a TestB instance 1310s # Expecting: TestB::bar,TestA::bar 1310s # Got: TestB::bar,TestA::bar 1310s # *** emitting baz on a TestB instance 1310s # Expecting: TestB::baz,TestA::baz 1310s # Got: TestB::baz,TestA::baz 1310s # *** emitting foo on a TestC instance 1310s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1310s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1310s # *** emitting bar on a TestC instance 1310s # Expecting: TestC::bar,TestB::bar,TestA::bar 1310s # Got: TestC::bar,TestB::bar,TestA::bar 1310s # *** emitting baz on a TestC instance 1310s # Expecting: TestC::baz,TestB::baz,TestA::baz 1310s # Got: TestC::baz,TestB::baz,TestA::baz 1310s ok 1 /gobject/override 1310s # End of gobject tests 1310s ok - glib/override.test 1310s # Running test: glib/mutex.test 1310s TAP version 14 1310s # random seed: R02S5c31331ca37ad212aa9c550827a90cb6 1310s 1..17 1310s # Start of thread tests 1310s ok 1 /thread/mutex1 1310s ok 2 /thread/mutex2 1310s ok 3 /thread/mutex3 1310s ok 4 /thread/mutex4 1313s # Executing: glib/mutex.test 1314s ok 5 /thread/mutex5 1314s # slow test /thread/mutex5 executed in 3.79 secs 1314s # Start of mutex tests 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1314s ok 6 /thread/mutex/errno 1314s # Start of perf tests 1314s # max perf: inf mips 1314s ok 7 /thread/mutex/perf/uncontended 1314s # Start of contended tests 1314s # max perf: inf mips 1314s ok 8 /thread/mutex/perf/contended/1 1314s # max perf: inf mips 1314s ok 9 /thread/mutex/perf/contended/2 1314s # max perf: 4.000000 mips 1314s ok 10 /thread/mutex/perf/contended/3 1314s # max perf: 5.000000 mips 1314s ok 11 /thread/mutex/perf/contended/4 1314s # max perf: 3.000000 mips 1314s ok 12 /thread/mutex/perf/contended/5 1314s # max perf: 3.500000 mips 1314s ok 13 /thread/mutex/perf/contended/6 1314s # max perf: 4.000000 mips 1314s ok 14 /thread/mutex/perf/contended/7 1314s # max perf: 3.000000 mips 1314s ok 15 /thread/mutex/perf/contended/8 1314s # max perf: 3.333333 mips 1314s ok 16 /thread/mutex/perf/contended/9 1314s # max perf: inf mips 1314s ok 17 /thread/mutex/perf/contended/10 1314s # End of contended tests 1314s # End of perf tests 1314s # End of mutex tests 1314s # End of thread tests 1314s ok - glib/mutex.test 1314s # Running test: glib/memory-monitor-portal.test 1314s TAP version 13 1314s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1314s 1..1 1314s ok - glib/memory-monitor-portal.test 1314s # Running test: glib/performance.test 1314s Running test simple-construction 1318s # Executing: glib/performance.test 1323s simple-construction: Millions of constructed objects per second: 14.075 1323s Running test simple-construction1 1323s # Executing: glib/performance.test 1325s simple-construction1: Millions of constructed objects per second: 67.243 1325s Running test complex-construction 1328s # Executing: glib/performance.test 1328s complex-construction: Millions of constructed objects per second: 5.249 1328s Running test complex-construction1 1333s # Executing: glib/performance.test 1333s complex-construction1: Millions of constructed objects per second: 8.838 1333s Running test complex-construction2 1338s # Executing: glib/performance.test 1338s complex-construction2: Millions of constructed objects per second: 11.447 1338s Running test finalization 1339s finalization: Millions of finalized objects per second: 2.962 1339s Running test type-check 1339s type-check: Million type checks per second: inf 1339s Running test emit-unhandled 1340s emit-unhandled: Emissions per second: 4628479 1340s Running test emit-unhandled-empty 1341s emit-unhandled-empty: Emissions per second: 25714392 1341s Running test emit-unhandled-generic 1342s emit-unhandled-generic: Emissions per second: 5976656 1342s Running test emit-unhandled-generic-empty 1343s # Executing: glib/performance.test 1343s emit-unhandled-generic-empty: Emissions per second: 25780645 1343s Running test emit-unhandled-args 1344s emit-unhandled-args: Emissions per second: 4031305 1344s Running test emit-handled 1345s emit-handled: Emissions per second: 3192543 1345s Running test emit-handled-empty 1346s emit-handled-empty: Emissions per second: 3338803 1346s Running test emit-handled-generic 1347s emit-handled-generic: Emissions per second: 3284529 1347s Running test emit-handled-generic-empty 1348s # Executing: glib/performance.test 1349s emit-handled-generic-empty: Emissions per second: 5315039 1349s Running test emit-handled-args 1350s emit-handled-args: Emissions per second: 2909992 1350s Running test notify-unhandled 1351s notify-unhandled: Notify (unhandled) per second: 26706511 1351s Running test notify-by-pspec-unhandled 1352s notify-by-pspec-unhandled: Notify (unhandled) per second: 95866152 1352s Running test notify-handled 1353s notify-handled: Notify per second: 1931928 1353s Running test notify-by-pspec-handled 1353s # Executing: glib/performance.test 1354s notify-by-pspec-handled: Notify per second: 2055925 1354s Running test property-set 1355s property-set: Property set per second: 13655151 1355s Running test property-get 1356s property-get: Property get per second: 13469486 1356s Running test refcount 1357s refcount: Million refs+unref per second: 27.13 1357s Running test refcount-1 1358s # Executing: glib/performance.test 1358s refcount-1: Million refs+unref per second: 82.76 1358s Running test refcount-toggle 1359s refcount-toggle: Million refs+unref per second: 42.90 1359s ok - glib/performance.test 1359s # Running test: glib/actions.test 1359s TAP version 14 1359s # random seed: R02Scdcf1eefd7a83a31763c66420636725f 1359s 1..13 1359s # Start of actions tests 1359s ok 1 /actions/basic 1359s ok 2 /actions/name 1359s ok 3 /actions/simplegroup 1359s ok 4 /actions/stateful 1359s ok 5 /actions/default-activate 1359s ok 6 /actions/entries 1359s ok 7 /actions/parse-detailed 1359s ok 8 /actions/property 1359s ok 9 /actions/no-properties 1359s # Start of dbus tests 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s ok 10 /actions/dbus/export 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s ok 11 /actions/dbus/threaded 1360s # slow test /actions/dbus/threaded executed in 1.12 secs 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1360s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s ok 12 /actions/dbus/bug679509 1360s # Start of export tests 1360s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1360s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1360s ok 13 /actions/dbus/export/error-handling 1360s # End of export tests 1360s # End of dbus tests 1360s # End of actions tests 1360s ok - glib/actions.test 1360s # Running test: glib/memory-input-stream.test 1360s TAP version 14 1360s # random seed: R02Sf6c68ed5a5fbf26e2314af3d44629a40 1360s 1..6 1360s # Start of memory-input-stream tests 1360s ok 1 /memory-input-stream/read-chunks 1360s ok 2 /memory-input-stream/async 1360s ok 3 /memory-input-stream/seek 1360s ok 4 /memory-input-stream/truncate 1360s ok 5 /memory-input-stream/read-bytes 1360s ok 6 /memory-input-stream/from-bytes 1360s # End of memory-input-stream tests 1360s ok - glib/memory-input-stream.test 1360s # Running test: glib/date.test 1360s TAP version 14 1360s # random seed: R02Sa53489e0496dcc624063205ba3507ec7 1360s 1..121 1360s # Start of date tests 1360s ok 1 /date/basic 1360s ok 2 /date/empty 1360s ok 3 /date/dmy 1360s ok 4 /date/julian 1360s ok 5 /date/compare 1360s ok 6 /date/dates 1360s ok 7 /date/strftime 1360s ok 8 /date/two-digit-years 1360s ok 9 /date/parse 1360s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1360s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1360s ok 11 /date/month_substring 1360s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1360s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1360s ok 13 /date/clamp 1360s ok 14 /date/order 1360s ok 15 /date/copy 1360s # Vector 0: 0000-00-00, invalid 1360s # Vector 1: 0001-01-01, valid 1360s # Vector 2: 0000-01-01, invalid 1360s # Vector 3: 2000-02-30, invalid 1360s # Vector 4: 2000-02-29, valid 1360s # Vector 5: 2001-02-29, invalid 1360s # Vector 6: 65535-01-01, valid 1360s ok 16 /date/valid-dmy 1360s # Start of parse tests 1360s # Test 0 1360s # Test 1 1360s ok 17 /date/parse/invalid 1360s # End of parse tests 1360s # Start of year tests 1360s ok 18 /date/year/1 1360s ok 19 /date/year/2 1360s ok 20 /date/year/3 1360s ok 21 /date/year/4 1360s ok 22 /date/year/5 1360s ok 23 /date/year/6 1360s ok 24 /date/year/7 1360s ok 25 /date/year/8 1360s ok 26 /date/year/9 1360s ok 27 /date/year/10 1360s ok 28 /date/year/11 1360s ok 29 /date/year/12 1360s ok 30 /date/year/13 1360s ok 31 /date/year/14 1360s ok 32 /date/year/98 1360s ok 33 /date/year/99 1360s ok 34 /date/year/100 1360s ok 35 /date/year/101 1360s ok 36 /date/year/102 1360s ok 37 /date/year/103 1360s ok 38 /date/year/397 1360s ok 39 /date/year/398 1360s ok 40 /date/year/399 1360s ok 41 /date/year/400 1360s ok 42 /date/year/401 1360s ok 43 /date/year/402 1360s ok 44 /date/year/403 1360s ok 45 /date/year/404 1360s ok 46 /date/year/405 1360s ok 47 /date/year/406 1360s ok 48 /date/year/1598 1360s ok 49 /date/year/1599 1360s ok 50 /date/year/1600 1360s ok 51 /date/year/1601 1360s ok 52 /date/year/1602 1360s ok 53 /date/year/1650 1360s ok 54 /date/year/1651 1360s ok 55 /date/year/1897 1360s ok 56 /date/year/1898 1360s ok 57 /date/year/1899 1360s ok 58 /date/year/1900 1360s ok 59 /date/year/1901 1360s ok 60 /date/year/1902 1360s ok 61 /date/year/1903 1360s ok 62 /date/year/1961 1360s ok 63 /date/year/1962 1360s ok 64 /date/year/1963 1360s ok 65 /date/year/1964 1360s ok 66 /date/year/1965 1360s ok 67 /date/year/1967 1360s ok 68 /date/year/1968 1360s ok 69 /date/year/1969 1360s ok 70 /date/year/1970 1360s ok 71 /date/year/1971 1360s ok 72 /date/year/1972 1360s ok 73 /date/year/1973 1360s ok 74 /date/year/1974 1360s ok 75 /date/year/1975 1360s ok 76 /date/year/1976 1360s ok 77 /date/year/1977 1360s ok 78 /date/year/1978 1360s ok 79 /date/year/1979 1360s ok 80 /date/year/1980 1360s ok 81 /date/year/1981 1360s ok 82 /date/year/1982 1360s ok 83 /date/year/1983 1360s ok 84 /date/year/1984 1360s ok 85 /date/year/1985 1360s ok 86 /date/year/1986 1360s ok 87 /date/year/1987 1360s ok 88 /date/year/1988 1360s ok 89 /date/year/1989 1360s ok 90 /date/year/1990 1360s ok 91 /date/year/1991 1360s ok 92 /date/year/1992 1360s ok 93 /date/year/1993 1360s ok 94 /date/year/1994 1360s ok 95 /date/year/1995 1360s ok 96 /date/year/1996 1360s ok 97 /date/year/1997 1360s ok 98 /date/year/1998 1360s ok 99 /date/year/1999 1360s ok 100 /date/year/2000 1360s ok 101 /date/year/2001 1360s ok 102 /date/year/2002 1360s ok 103 /date/year/2003 1360s ok 104 /date/year/2004 1360s ok 105 /date/year/2005 1360s ok 106 /date/year/2006 1360s ok 107 /date/year/2007 1360s ok 108 /date/year/2008 1361s ok 109 /date/year/2009 1361s ok 110 /date/year/2010 1361s ok 111 /date/year/2011 1361s ok 112 /date/year/2012 1361s ok 113 /date/year/3000 1361s ok 114 /date/year/3001 1361s ok 115 /date/year/3002 1361s ok 116 /date/year/3998 1361s ok 117 /date/year/3999 1361s ok 118 /date/year/4000 1361s ok 119 /date/year/4001 1361s ok 120 /date/year/4002 1361s ok 121 /date/year/4003 1361s # End of year tests 1361s # End of date tests 1361s ok - glib/date.test 1361s # Running test: glib/hostutils.test 1361s TAP version 14 1361s # random seed: R02S0b70bbb8240c0190a520c914a7067813 1361s 1..3 1361s # Start of hostutils tests 1361s ok 1 /hostutils/to_ascii 1361s ok 2 /hostutils/to_unicode 1361s ok 3 /hostutils/is_ip_addr 1361s # End of hostutils tests 1361s ok - glib/hostutils.test 1361s # Running test: glib/boxed.test 1361s TAP version 14 1361s # random seed: R02S17fc3396c5868e39a70268582568a271 1361s 1..27 1361s # Start of boxed tests 1361s ok 1 /boxed/define 1361s ok 2 /boxed/ownership 1361s ok 3 /boxed/closure 1361s ok 4 /boxed/date 1361s ok 5 /boxed/value 1361s ok 6 /boxed/string 1361s ok 7 /boxed/hashtable 1361s ok 8 /boxed/array 1361s ok 9 /boxed/ptrarray 1361s ok 10 /boxed/regex 1361s ok 11 /boxed/varianttype 1361s ok 12 /boxed/error 1361s ok 13 /boxed/datetime 1361s ok 14 /boxed/matchinfo 1361s ok 15 /boxed/keyfile 1361s ok 16 /boxed/mainloop 1361s ok 17 /boxed/maincontext 1361s ok 18 /boxed/source 1361s ok 19 /boxed/variantbuilder 1361s ok 20 /boxed/timezone 1361s ok 21 /boxed/pollfd 1361s ok 22 /boxed/markup 1361s ok 23 /boxed/thread 1361s ok 24 /boxed/checksum 1361s ok 25 /boxed/tree 1361s ok 26 /boxed/patternspec 1361s ok 27 /boxed/rand 1361s # End of boxed tests 1361s ok - glib/boxed.test 1361s # Running test: glib/fdo-notification-backend.test 1361s TAP version 14 1361s # random seed: R02Sf3e8485be7fc31850310980d9205c926 1361s 1..2 1361s # Start of fdo-notification-backend tests 1361s # Test constructing a GFdoNotificationBackend 1361s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 1 /fdo-notification-backend/construction 1361s # Start of dbus tests 1361s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1361s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 2 /fdo-notification-backend/dbus/activate-action 1361s # End of dbus tests 1361s # End of fdo-notification-backend tests 1361s ok - glib/fdo-notification-backend.test 1361s # Running test: glib/gdbus-test-codegen-old.test 1361s TAP version 14 1361s # random seed: R02S698d1fd5607380d7f00981989fef6598 1361s 1..8 1361s # Start of gdbus tests 1361s # Start of codegen tests 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/annotations/.dirs/runtime 1361s ok 1 /gdbus/codegen/annotations 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/interface_stability/.dirs/runtime 1361s ok 2 /gdbus/codegen/interface_stability 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/object-manager/.dirs/runtime 1361s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1361s ok 3 /gdbus/codegen/object-manager 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/property-naming/.dirs/runtime 1361s ok 4 /gdbus/codegen/property-naming 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/autocleanups/.dirs/runtime 1361s ok 5 /gdbus/codegen/autocleanups 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/deprecations/.dirs/runtime 1361s ok 6 /gdbus/codegen/deprecations 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1361s ok 7 /gdbus/codegen/standalone-interface-info 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_9QQK02/gdbus/codegen/unix-fd-list/.dirs/runtime 1361s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1361s ok 8 /gdbus/codegen/unix-fd-list 1361s # End of codegen tests 1361s # End of gdbus tests 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok - glib/gdbus-test-codegen-old.test 1361s # Running test: glib/power-profile-monitor-portal.test 1361s TAP version 13 1361s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1361s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1361s 1..2 1361s ok - glib/power-profile-monitor-portal.test 1361s # Running test: glib/strfuncs.test 1361s TAP version 14 1361s # random seed: R02S1fa5efd33ecd5dc38ff8e9a4f35297be 1361s 1..50 1361s # Start of strfuncs tests 1361s ok 1 /strfuncs/ascii-strcasecmp 1361s ok 2 /strfuncs/ascii_strdown 1361s ok 3 /strfuncs/ascii_strdup 1361s ok 4 /strfuncs/ascii_strtod 1361s ok 5 /strfuncs/bounds-check 1361s ok 6 /strfuncs/has-prefix 1361s ok 7 /strfuncs/has-prefix-macro 1361s ok 8 /strfuncs/has-suffix 1361s ok 9 /strfuncs/has-suffix-macro 1361s ok 10 /strfuncs/memdup 1361s ok 11 /strfuncs/memdup2 1361s ok 12 /strfuncs/set_str 1361s ok 13 /strfuncs/stpcpy 1361s ok 14 /strfuncs/str_match_string 1361s ok 15 /strfuncs/str_tokenize_and_fold 1361s ok 16 /strfuncs/strcanon 1361s ok 17 /strfuncs/strchomp 1361s ok 18 /strfuncs/strchug 1361s ok 19 /strfuncs/strcompress-strescape 1361s ok 20 /strfuncs/strconcat 1361s ok 21 /strfuncs/strdelimit 1361s ok 22 /strfuncs/strdup 1361s ok 23 /strfuncs/strdup-printf 1361s ok 24 /strfuncs/strdupv 1361s ok 25 /strfuncs/strerror 1361s ok 26 /strfuncs/strip-context 1361s ok 27 /strfuncs/strjoin 1361s ok 28 /strfuncs/strjoinv 1361s ok 29 /strfuncs/strlcat 1361s ok 30 /strfuncs/strlcpy 1361s ok 31 /strfuncs/strncasecmp 1361s ok 32 /strfuncs/strndup 1361s ok 33 /strfuncs/strnfill 1361s ok 34 /strfuncs/strreverse 1361s ok 35 /strfuncs/strsignal 1361s ok 36 /strfuncs/strsplit 1361s ok 37 /strfuncs/strsplit-set 1361s ok 38 /strfuncs/strstr 1361s ok 39 /strfuncs/strtod 1361s ok 40 /strfuncs/strtoull-strtoll 1361s ok 41 /strfuncs/strup 1361s ok 42 /strfuncs/strv-contains 1361s ok 43 /strfuncs/strv-equal 1361s ok 44 /strfuncs/strv-length 1361s ok 45 /strfuncs/test-is-to-digit 1361s ok 46 /strfuncs/transliteration 1361s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1361s ok 47 /strfuncs/str-equal 1361s # Start of ascii-string-to-num tests 1361s ok 48 /strfuncs/ascii-string-to-num/pathological 1361s ok 49 /strfuncs/ascii-string-to-num/usual 1361s # End of ascii-string-to-num tests 1361s # Start of strdup tests 1361s ok 50 /strfuncs/strdup/inline 1361s # End of strdup tests 1361s # End of strfuncs tests 1361s ok - glib/strfuncs.test 1361s # Running test: glib/spawn-test.test 1361s TAP version 14 1361s # random seed: R02Sb59e312ca36c529cfce7bed665e22cc5 1361s 1..2 1361s # Start of spawn tests 1361s ok 1 /spawn/basics 1361s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1361s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1361s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1361s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1361s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1361s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1361s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1361s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1361s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1361s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1361s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1361s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1361s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1361s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1361s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1361s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1361s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1361s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1361s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1361s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1361s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1361s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1361s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1361s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1361s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1361s # Fetching GSpawn result with stdin open, stdout open, stderr open 1361s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1361s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1361s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1361s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1361s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1361s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1361s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1361s ok 2 /spawn/stdio-overwrite 1361s # End of spawn tests 1361s ok - glib/spawn-test.test 1361s # Running test: glib/thumbnail-verification.test 1361s TAP version 14 1361s # random seed: R02Sbf250e263d3b8e7b69e6f7bfc2f0015d 1361s 1..1 1361s # Start of png-thumbs tests 1361s ok 1 /png-thumbs/validity 1361s # End of png-thumbs tests 1361s ok - glib/thumbnail-verification.test 1361s # Running test: glib/g-icon.test 1361s TAP version 14 1361s # random seed: R02Sdcca3544a71863881e3843bab31b9be4 1361s 1..6 1361s # Start of icons tests 1361s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1361s ok 1 /icons/to-string 1361s ok 2 /icons/serialize 1361s ok 3 /icons/themed 1361s ok 4 /icons/emblemed 1361s ok 5 /icons/file 1361s ok 6 /icons/bytes 1361s # End of icons tests 1361s ok - glib/g-icon.test 1361s # Running test: glib/utils-c-99.test 1361s TAP version 14 1361s # random seed: R02Sd8cfd019bd516f1b10c58e1ffc3ae8a3 1361s 1..40 1361s # Start of utils tests 1361s ok 1 /utils/language-names 1361s ok 2 /utils/locale-variants 1361s ok 3 /utils/version 1361s ok 4 /utils/appname 1361s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1361s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1361s ok 5 /utils/prgname-thread-safety 1361s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1361s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1361s ok 6 /utils/tmpdir 1361s ok 7 /utils/basic_bits 1361s ok 8 /utils/bits 1361s ok 9 /utils/swap 1361s ok 10 /utils/find-program 1361s ok 11 /utils/find-program-for-path 1361s ok 12 /utils/debug 1361s ok 13 /utils/codeset 1361s ok 14 /utils/codeset2 1361s ok 15 /utils/console-charset 1361s ok 16 /utils/gettext 1361s ok 17 /utils/username 1361s ok 18 /utils/realname 1361s ok 19 /utils/hostname 1361s ok 20 /utils/xdgdirs 1361s ok 21 /utils/specialdir 1361s # NAME: Ubuntu 1361s ok 22 /utils/os-info 1361s ok 23 /utils/clear-pointer 1361s ok 24 /utils/clear-pointer-cast 1361s ok 25 /utils/take-pointer 1361s ok 26 /utils/clear-source 1361s ok 27 /utils/misc-mem 1361s # /utils/aligned-mem summary: Aligned memory allocator 1361s # Alignment must not be zero 1361s # Alignment must be a power of two 1361s # Alignment must be a multiple of sizeof(void*) 1361s ok 28 /utils/aligned-mem 1361s # /utils/free-sized summary: Check that g_free_sized() works 1361s ok 29 /utils/free-sized 1361s ok 30 /utils/nullify 1361s ok 31 /utils/atexit 1361s ok 32 /utils/check-setuid 1361s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1361s ok 33 /utils/int-limits 1361s ok 34 /utils/clear-list 1361s ok 35 /utils/clear-slist 1361s # Start of specialdir tests 1361s ok 36 /utils/specialdir/desktop 1361s # End of specialdir tests 1361s # Start of clear-pointer tests 1361s ok 37 /utils/clear-pointer/side-effects 1361s # End of clear-pointer tests 1361s # Start of aligned-mem tests 1361s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1361s ok 38 /utils/aligned-mem/alignment 1361s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1361s ok 39 /utils/aligned-mem/zeroed 1361s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1361s ok 40 /utils/aligned-mem/free-sized 1361s # Start of subprocess tests 1361s # End of subprocess tests 1361s # End of aligned-mem tests 1361s # End of utils tests 1361s ok - glib/utils-c-99.test 1361s # Running test: glib/1bit-mutex.test 1361s TAP version 14 1361s # random seed: R02S1f7e814da038595449b914cdb4de876f 1361s 1..2 1361s # Start of glib tests 1361s # Start of 1bit-mutex tests 1363s # Executing: glib/1bit-mutex.test 1365s ok 1 /glib/1bit-mutex/int 1365s # slow test /glib/1bit-mutex/int executed in 3.77 secs 1368s # Executing: glib/1bit-mutex.test 1369s ok 2 /glib/1bit-mutex/pointer 1369s # slow test /glib/1bit-mutex/pointer executed in 3.79 secs 1369s # End of 1bit-mutex tests 1369s # End of glib tests 1369s ok - glib/1bit-mutex.test 1369s # Running test: glib/strvbuilder.test 1369s TAP version 14 1369s # random seed: R02Se8613bbb798e7d5760616cef0483426f 1369s 1..7 1369s # Start of strvbuilder tests 1369s ok 1 /strvbuilder/empty 1369s ok 2 /strvbuilder/add 1369s ok 3 /strvbuilder/addv 1369s ok 4 /strvbuilder/add_many 1369s ok 5 /strvbuilder/take 1369s ok 6 /strvbuilder/ref 1369s ok 7 /strvbuilder/unref_to_strv 1369s # End of strvbuilder tests 1369s ok - glib/strvbuilder.test 1369s # Running test: glib/gdbus-connection-loss.test 1369s TAP version 14 1369s # random seed: R02S59ebd7526179d26fd39b210c8bbf04d9 1369s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1369s 1..1 1369s # Start of gdbus tests 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_YB6O02/gdbus/connection-loss/.dirs/runtime 1369s ok 1 /gdbus/connection-loss 1369s # End of gdbus tests 1369s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1369s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1369s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1369s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1369s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1369s ok - glib/gdbus-connection-loss.test 1369s # Running test: glib/dataset.test 1369s TAP version 14 1369s # random seed: R02S7ae25acb44da2652505e33c8d3a30153 1369s 1..14 1369s # Start of quark tests 1369s ok 1 /quark/basic 1369s ok 2 /quark/string 1369s # End of quark tests 1369s # Start of dataset tests 1369s ok 3 /dataset/basic 1369s ok 4 /dataset/id 1369s ok 5 /dataset/full 1369s ok 6 /dataset/foreach 1369s ok 7 /dataset/destroy 1369s # End of dataset tests 1369s # Start of datalist tests 1369s ok 8 /datalist/basic 1369s ok 9 /datalist/id 1369s ok 10 /datalist/recursive-clear 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1369s ok 11 /datalist/id-remove-multiple 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1369s ok 12 /datalist/id-remove-multiple-destroy-order 1369s ok 13 /datalist/update-atomic 1369s # Start of id-remove-multiple tests 1369s ok 14 /datalist/id-remove-multiple/resize 1369s # End of id-remove-multiple tests 1369s # End of datalist tests 1369s ok - glib/dataset.test 1369s # Running test: glib/dynamictests.test 1369s TAP version 14 1369s # random seed: R02Sfa0300998d2544ae3d14301dafc45520 1369s 1..2 1369s # Start of GObject tests 1369s ok 1 /GObject/threaded-dynamic-ref-unref-init 1369s ok 2 /GObject/dynamic-interface-properties 1369s # End of GObject tests 1369s ok - glib/dynamictests.test 1369s # Running test: glib/node.test 1369s TAP version 14 1369s # random seed: R02Sda75e1cab9388b60046671924b22a90a 1369s 1..6 1369s # Start of node tests 1369s ok 1 /node/allocation 1369s ok 2 /node/construction 1369s ok 3 /node/traversal 1369s ok 4 /node/misc 1369s ok 5 /node/unlink 1369s ok 6 /node/copy 1369s # End of node tests 1369s ok - glib/node.test 1369s # Running test: glib/convert.test 1369s TAP version 14 1369s # random seed: R02S4af93398782f91f105e5fda740cbd3f3 1369s 1..14 1369s # Start of conversion tests 1369s ok 1 /conversion/no-conv 1369s ok 2 /conversion/iconv-state 1369s ok 3 /conversion/illegal-sequence 1369s ok 4 /conversion/byte-order 1369s ok 5 /conversion/unicode 1369s ok 6 /conversion/filename-utf8 1369s ok 7 /conversion/filename-display 1369s ok 8 /conversion/convert-embedded-nul 1369s # Start of locale-to-utf8 tests 1369s ok 9 /conversion/locale-to-utf8/embedded-nul 1369s # Start of embedded-nul tests 1369s # Start of subprocess tests 1369s # End of subprocess tests 1369s # End of embedded-nul tests 1369s # End of locale-to-utf8 tests 1369s # Start of locale-from-utf8 tests 1369s ok 10 /conversion/locale-from-utf8/embedded-nul 1369s # Start of embedded-nul tests 1369s # Start of subprocess tests 1369s # End of subprocess tests 1369s # End of embedded-nul tests 1369s # End of locale-from-utf8 tests 1369s # Start of filename-to-utf8 tests 1369s ok 11 /conversion/filename-to-utf8/embedded-nul 1369s # Start of embedded-nul tests 1369s # Start of subprocess tests 1369s # End of subprocess tests 1369s # End of embedded-nul tests 1369s # End of filename-to-utf8 tests 1369s # Start of filename-from-utf8 tests 1369s ok 12 /conversion/filename-from-utf8/embedded-nul 1369s # Start of embedded-nul tests 1369s # Start of subprocess tests 1369s # End of subprocess tests 1369s # End of embedded-nul tests 1369s # End of filename-from-utf8 tests 1369s # Start of filename-from-uri tests 1369s ok 13 /conversion/filename-from-uri/query-is-ignored 1369s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1369s # End of filename-from-uri tests 1369s # End of conversion tests 1369s ok - glib/convert.test 1369s # Running test: glib/checksum.test 1369s TAP version 14 1369s # random seed: R02S5924f6775777fbb46d2eb240beb6beb9 1369s 1..1851 1369s # Start of checksum tests 1369s ok 1 /checksum/unsupported 1369s # Start of MD5 tests 1369s ok 2 /checksum/MD5/0 1369s ok 3 /checksum/MD5/1 1369s ok 4 /checksum/MD5/2 1369s ok 5 /checksum/MD5/3 1369s ok 6 /checksum/MD5/4 1369s ok 7 /checksum/MD5/5 1369s ok 8 /checksum/MD5/6 1369s ok 9 /checksum/MD5/7 1369s ok 10 /checksum/MD5/8 1369s ok 11 /checksum/MD5/9 1369s ok 12 /checksum/MD5/10 1369s ok 13 /checksum/MD5/11 1369s ok 14 /checksum/MD5/12 1369s ok 15 /checksum/MD5/13 1369s ok 16 /checksum/MD5/14 1369s ok 17 /checksum/MD5/15 1369s ok 18 /checksum/MD5/16 1369s ok 19 /checksum/MD5/17 1369s ok 20 /checksum/MD5/18 1369s ok 21 /checksum/MD5/19 1369s ok 22 /checksum/MD5/20 1369s ok 23 /checksum/MD5/21 1369s ok 24 /checksum/MD5/22 1369s ok 25 /checksum/MD5/23 1369s ok 26 /checksum/MD5/24 1369s ok 27 /checksum/MD5/25 1369s ok 28 /checksum/MD5/26 1369s ok 29 /checksum/MD5/27 1369s ok 30 /checksum/MD5/28 1369s ok 31 /checksum/MD5/29 1369s ok 32 /checksum/MD5/30 1369s ok 33 /checksum/MD5/31 1369s ok 34 /checksum/MD5/32 1369s ok 35 /checksum/MD5/33 1369s ok 36 /checksum/MD5/34 1369s ok 37 /checksum/MD5/35 1369s ok 38 /checksum/MD5/36 1369s ok 39 /checksum/MD5/37 1369s ok 40 /checksum/MD5/38 1369s ok 41 /checksum/MD5/39 1369s ok 42 /checksum/MD5/40 1369s ok 43 /checksum/MD5/41 1369s ok 44 /checksum/MD5/42 1369s ok 45 /checksum/MD5/43 1369s ok 46 /checksum/MD5/44 1369s ok 47 /checksum/MD5/45 1369s ok 48 /checksum/MD5/46 1369s ok 49 /checksum/MD5/47 1369s ok 50 /checksum/MD5/48 1369s ok 51 /checksum/MD5/49 1369s ok 52 /checksum/MD5/50 1369s ok 53 /checksum/MD5/51 1369s ok 54 /checksum/MD5/52 1369s ok 55 /checksum/MD5/53 1369s ok 56 /checksum/MD5/54 1369s ok 57 /checksum/MD5/55 1369s ok 58 /checksum/MD5/56 1369s ok 59 /checksum/MD5/57 1369s ok 60 /checksum/MD5/58 1369s ok 61 /checksum/MD5/59 1369s ok 62 /checksum/MD5/60 1369s ok 63 /checksum/MD5/61 1369s ok 64 /checksum/MD5/62 1369s ok 65 /checksum/MD5/63 1369s ok 66 /checksum/MD5/64 1369s ok 67 /checksum/MD5/65 1369s ok 68 /checksum/MD5/66 1369s ok 69 /checksum/MD5/67 1369s ok 70 /checksum/MD5/68 1369s ok 71 /checksum/MD5/69 1369s ok 72 /checksum/MD5/70 1369s ok 73 /checksum/MD5/71 1369s ok 74 /checksum/MD5/72 1369s ok 75 /checksum/MD5/73 1369s ok 76 /checksum/MD5/74 1369s ok 77 /checksum/MD5/75 1369s ok 78 /checksum/MD5/76 1369s ok 79 /checksum/MD5/77 1369s ok 80 /checksum/MD5/78 1369s ok 81 /checksum/MD5/79 1369s ok 82 /checksum/MD5/80 1369s ok 83 /checksum/MD5/81 1369s ok 84 /checksum/MD5/82 1369s ok 85 /checksum/MD5/83 1369s ok 86 /checksum/MD5/84 1369s ok 87 /checksum/MD5/85 1369s ok 88 /checksum/MD5/86 1369s ok 89 /checksum/MD5/87 1369s ok 90 /checksum/MD5/88 1369s ok 91 /checksum/MD5/89 1369s ok 92 /checksum/MD5/90 1369s ok 93 /checksum/MD5/91 1369s ok 94 /checksum/MD5/92 1369s ok 95 /checksum/MD5/93 1369s ok 96 /checksum/MD5/94 1369s ok 97 /checksum/MD5/95 1369s ok 98 /checksum/MD5/96 1369s ok 99 /checksum/MD5/97 1369s ok 100 /checksum/MD5/98 1369s ok 101 /checksum/MD5/99 1369s ok 102 /checksum/MD5/100 1369s ok 103 /checksum/MD5/101 1369s ok 104 /checksum/MD5/102 1369s ok 105 /checksum/MD5/103 1369s ok 106 /checksum/MD5/104 1369s ok 107 /checksum/MD5/105 1369s ok 108 /checksum/MD5/106 1369s ok 109 /checksum/MD5/107 1369s ok 110 /checksum/MD5/108 1369s ok 111 /checksum/MD5/109 1369s ok 112 /checksum/MD5/110 1369s ok 113 /checksum/MD5/111 1369s ok 114 /checksum/MD5/112 1369s ok 115 /checksum/MD5/113 1369s ok 116 /checksum/MD5/114 1369s ok 117 /checksum/MD5/115 1369s ok 118 /checksum/MD5/116 1369s ok 119 /checksum/MD5/117 1369s ok 120 /checksum/MD5/118 1369s ok 121 /checksum/MD5/119 1369s ok 122 /checksum/MD5/120 1369s ok 123 /checksum/MD5/121 1369s ok 124 /checksum/MD5/122 1369s ok 125 /checksum/MD5/123 1369s ok 126 /checksum/MD5/124 1369s ok 127 /checksum/MD5/125 1369s ok 128 /checksum/MD5/126 1369s ok 129 /checksum/MD5/127 1369s ok 130 /checksum/MD5/128 1369s ok 131 /checksum/MD5/129 1369s ok 132 /checksum/MD5/130 1369s ok 133 /checksum/MD5/131 1369s ok 134 /checksum/MD5/132 1369s ok 135 /checksum/MD5/133 1369s ok 136 /checksum/MD5/134 1369s ok 137 /checksum/MD5/135 1369s ok 138 /checksum/MD5/136 1369s ok 139 /checksum/MD5/137 1369s ok 140 /checksum/MD5/138 1369s ok 141 /checksum/MD5/139 1369s ok 142 /checksum/MD5/140 1369s ok 143 /checksum/MD5/141 1369s ok 144 /checksum/MD5/142 1369s ok 145 /checksum/MD5/143 1369s ok 146 /checksum/MD5/144 1369s ok 147 /checksum/MD5/145 1369s ok 148 /checksum/MD5/146 1369s ok 149 /checksum/MD5/147 1369s ok 150 /checksum/MD5/148 1369s ok 151 /checksum/MD5/149 1369s ok 152 /checksum/MD5/150 1369s ok 153 /checksum/MD5/151 1369s ok 154 /checksum/MD5/152 1369s ok 155 /checksum/MD5/153 1369s ok 156 /checksum/MD5/154 1369s ok 157 /checksum/MD5/155 1369s ok 158 /checksum/MD5/156 1369s ok 159 /checksum/MD5/157 1369s ok 160 /checksum/MD5/158 1369s ok 161 /checksum/MD5/159 1369s ok 162 /checksum/MD5/160 1369s ok 163 /checksum/MD5/161 1369s ok 164 /checksum/MD5/162 1369s ok 165 /checksum/MD5/163 1369s ok 166 /checksum/MD5/164 1369s ok 167 /checksum/MD5/165 1369s ok 168 /checksum/MD5/166 1369s ok 169 /checksum/MD5/167 1369s ok 170 /checksum/MD5/168 1369s ok 171 /checksum/MD5/169 1369s ok 172 /checksum/MD5/170 1369s ok 173 /checksum/MD5/171 1369s ok 174 /checksum/MD5/172 1369s ok 175 /checksum/MD5/173 1369s ok 176 /checksum/MD5/174 1369s ok 177 /checksum/MD5/175 1369s ok 178 /checksum/MD5/176 1369s ok 179 /checksum/MD5/177 1369s ok 180 /checksum/MD5/178 1369s ok 181 /checksum/MD5/179 1369s ok 182 /checksum/MD5/180 1369s ok 183 /checksum/MD5/181 1369s ok 184 /checksum/MD5/182 1369s ok 185 /checksum/MD5/183 1369s ok 186 /checksum/MD5/string 1369s ok 187 /checksum/MD5/bytes 1369s # Start of reset tests 1369s ok 188 /checksum/MD5/reset/0 1369s ok 189 /checksum/MD5/reset/1 1369s ok 190 /checksum/MD5/reset/2 1369s ok 191 /checksum/MD5/reset/3 1369s ok 192 /checksum/MD5/reset/4 1369s ok 193 /checksum/MD5/reset/5 1369s ok 194 /checksum/MD5/reset/6 1369s ok 195 /checksum/MD5/reset/7 1369s ok 196 /checksum/MD5/reset/8 1369s ok 197 /checksum/MD5/reset/9 1369s ok 198 /checksum/MD5/reset/10 1369s ok 199 /checksum/MD5/reset/11 1369s ok 200 /checksum/MD5/reset/12 1369s ok 201 /checksum/MD5/reset/13 1369s ok 202 /checksum/MD5/reset/14 1369s ok 203 /checksum/MD5/reset/15 1369s ok 204 /checksum/MD5/reset/16 1369s ok 205 /checksum/MD5/reset/17 1369s ok 206 /checksum/MD5/reset/18 1369s ok 207 /checksum/MD5/reset/19 1369s ok 208 /checksum/MD5/reset/20 1369s ok 209 /checksum/MD5/reset/21 1369s ok 210 /checksum/MD5/reset/22 1369s ok 211 /checksum/MD5/reset/23 1369s ok 212 /checksum/MD5/reset/24 1369s ok 213 /checksum/MD5/reset/25 1369s ok 214 /checksum/MD5/reset/26 1369s ok 215 /checksum/MD5/reset/27 1369s ok 216 /checksum/MD5/reset/28 1369s ok 217 /checksum/MD5/reset/29 1369s ok 218 /checksum/MD5/reset/30 1369s ok 219 /checksum/MD5/reset/31 1369s ok 220 /checksum/MD5/reset/32 1369s ok 221 /checksum/MD5/reset/33 1369s ok 222 /checksum/MD5/reset/34 1369s ok 223 /checksum/MD5/reset/35 1369s ok 224 /checksum/MD5/reset/36 1369s ok 225 /checksum/MD5/reset/37 1369s ok 226 /checksum/MD5/reset/38 1369s ok 227 /checksum/MD5/reset/39 1369s ok 228 /checksum/MD5/reset/40 1369s ok 229 /checksum/MD5/reset/41 1369s ok 230 /checksum/MD5/reset/42 1369s ok 231 /checksum/MD5/reset/43 1369s ok 232 /checksum/MD5/reset/44 1369s ok 233 /checksum/MD5/reset/45 1369s ok 234 /checksum/MD5/reset/46 1369s ok 235 /checksum/MD5/reset/47 1369s ok 236 /checksum/MD5/reset/48 1369s ok 237 /checksum/MD5/reset/49 1369s ok 238 /checksum/MD5/reset/50 1369s ok 239 /checksum/MD5/reset/51 1369s ok 240 /checksum/MD5/reset/52 1369s ok 241 /checksum/MD5/reset/53 1369s ok 242 /checksum/MD5/reset/54 1369s ok 243 /checksum/MD5/reset/55 1369s ok 244 /checksum/MD5/reset/56 1369s ok 245 /checksum/MD5/reset/57 1369s ok 246 /checksum/MD5/reset/58 1369s ok 247 /checksum/MD5/reset/59 1369s ok 248 /checksum/MD5/reset/60 1369s ok 249 /checksum/MD5/reset/61 1369s ok 250 /checksum/MD5/reset/62 1369s ok 251 /checksum/MD5/reset/63 1369s ok 252 /checksum/MD5/reset/64 1369s ok 253 /checksum/MD5/reset/65 1369s ok 254 /checksum/MD5/reset/66 1369s ok 255 /checksum/MD5/reset/67 1369s ok 256 /checksum/MD5/reset/68 1369s ok 257 /checksum/MD5/reset/69 1369s ok 258 /checksum/MD5/reset/70 1369s ok 259 /checksum/MD5/reset/71 1369s ok 260 /checksum/MD5/reset/72 1369s ok 261 /checksum/MD5/reset/73 1369s ok 262 /checksum/MD5/reset/74 1369s ok 263 /checksum/MD5/reset/75 1369s ok 264 /checksum/MD5/reset/76 1369s ok 265 /checksum/MD5/reset/77 1369s ok 266 /checksum/MD5/reset/78 1369s ok 267 /checksum/MD5/reset/79 1369s ok 268 /checksum/MD5/reset/80 1369s ok 269 /checksum/MD5/reset/81 1369s ok 270 /checksum/MD5/reset/82 1369s ok 271 /checksum/MD5/reset/83 1369s ok 272 /checksum/MD5/reset/84 1369s ok 273 /checksum/MD5/reset/85 1369s ok 274 /checksum/MD5/reset/86 1369s ok 275 /checksum/MD5/reset/87 1369s ok 276 /checksum/MD5/reset/88 1369s ok 277 /checksum/MD5/reset/89 1369s ok 278 /checksum/MD5/reset/90 1369s ok 279 /checksum/MD5/reset/91 1369s ok 280 /checksum/MD5/reset/92 1369s ok 281 /checksum/MD5/reset/93 1369s ok 282 /checksum/MD5/reset/94 1369s ok 283 /checksum/MD5/reset/95 1369s ok 284 /checksum/MD5/reset/96 1369s ok 285 /checksum/MD5/reset/97 1369s ok 286 /checksum/MD5/reset/98 1369s ok 287 /checksum/MD5/reset/99 1369s ok 288 /checksum/MD5/reset/100 1369s ok 289 /checksum/MD5/reset/101 1369s ok 290 /checksum/MD5/reset/102 1369s ok 291 /checksum/MD5/reset/103 1369s ok 292 /checksum/MD5/reset/104 1369s ok 293 /checksum/MD5/reset/105 1369s ok 294 /checksum/MD5/reset/106 1369s ok 295 /checksum/MD5/reset/107 1369s ok 296 /checksum/MD5/reset/108 1369s ok 297 /checksum/MD5/reset/109 1369s ok 298 /checksum/MD5/reset/110 1369s ok 299 /checksum/MD5/reset/111 1369s ok 300 /checksum/MD5/reset/112 1369s ok 301 /checksum/MD5/reset/113 1369s ok 302 /checksum/MD5/reset/114 1369s ok 303 /checksum/MD5/reset/115 1369s ok 304 /checksum/MD5/reset/116 1369s ok 305 /checksum/MD5/reset/117 1369s ok 306 /checksum/MD5/reset/118 1369s ok 307 /checksum/MD5/reset/119 1369s ok 308 /checksum/MD5/reset/120 1369s ok 309 /checksum/MD5/reset/121 1369s ok 310 /checksum/MD5/reset/122 1369s ok 311 /checksum/MD5/reset/123 1369s ok 312 /checksum/MD5/reset/124 1369s ok 313 /checksum/MD5/reset/125 1369s ok 314 /checksum/MD5/reset/126 1369s ok 315 /checksum/MD5/reset/127 1369s ok 316 /checksum/MD5/reset/128 1369s ok 317 /checksum/MD5/reset/129 1369s ok 318 /checksum/MD5/reset/130 1369s ok 319 /checksum/MD5/reset/131 1369s ok 320 /checksum/MD5/reset/132 1369s ok 321 /checksum/MD5/reset/133 1369s ok 322 /checksum/MD5/reset/134 1369s ok 323 /checksum/MD5/reset/135 1369s ok 324 /checksum/MD5/reset/136 1369s ok 325 /checksum/MD5/reset/137 1369s ok 326 /checksum/MD5/reset/138 1369s ok 327 /checksum/MD5/reset/139 1369s ok 328 /checksum/MD5/reset/140 1369s ok 329 /checksum/MD5/reset/141 1369s ok 330 /checksum/MD5/reset/142 1369s ok 331 /checksum/MD5/reset/143 1369s ok 332 /checksum/MD5/reset/144 1369s ok 333 /checksum/MD5/reset/145 1369s ok 334 /checksum/MD5/reset/146 1369s ok 335 /checksum/MD5/reset/147 1369s ok 336 /checksum/MD5/reset/148 1369s ok 337 /checksum/MD5/reset/149 1369s ok 338 /checksum/MD5/reset/150 1369s ok 339 /checksum/MD5/reset/151 1369s ok 340 /checksum/MD5/reset/152 1369s ok 341 /checksum/MD5/reset/153 1369s ok 342 /checksum/MD5/reset/154 1369s ok 343 /checksum/MD5/reset/155 1369s ok 344 /checksum/MD5/reset/156 1369s ok 345 /checksum/MD5/reset/157 1369s ok 346 /checksum/MD5/reset/158 1369s ok 347 /checksum/MD5/reset/159 1369s ok 348 /checksum/MD5/reset/160 1369s ok 349 /checksum/MD5/reset/161 1369s ok 350 /checksum/MD5/reset/162 1369s ok 351 /checksum/MD5/reset/163 1369s ok 352 /checksum/MD5/reset/164 1369s ok 353 /checksum/MD5/reset/165 1369s ok 354 /checksum/MD5/reset/166 1369s ok 355 /checksum/MD5/reset/167 1369s ok 356 /checksum/MD5/reset/168 1369s ok 357 /checksum/MD5/reset/169 1369s ok 358 /checksum/MD5/reset/170 1369s ok 359 /checksum/MD5/reset/171 1369s ok 360 /checksum/MD5/reset/172 1369s ok 361 /checksum/MD5/reset/173 1369s ok 362 /checksum/MD5/reset/174 1369s ok 363 /checksum/MD5/reset/175 1369s ok 364 /checksum/MD5/reset/176 1369s ok 365 /checksum/MD5/reset/177 1369s ok 366 /checksum/MD5/reset/178 1369s ok 367 /checksum/MD5/reset/179 1369s ok 368 /checksum/MD5/reset/180 1369s ok 369 /checksum/MD5/reset/181 1369s ok 370 /checksum/MD5/reset/182 1369s ok 371 /checksum/MD5/reset/183 1369s # End of reset tests 1369s # End of MD5 tests 1369s # Start of SHA1 tests 1369s ok 372 /checksum/SHA1/0 1369s ok 373 /checksum/SHA1/1 1369s ok 374 /checksum/SHA1/2 1369s ok 375 /checksum/SHA1/3 1369s ok 376 /checksum/SHA1/4 1369s ok 377 /checksum/SHA1/5 1369s ok 378 /checksum/SHA1/6 1369s ok 379 /checksum/SHA1/7 1369s ok 380 /checksum/SHA1/8 1369s ok 381 /checksum/SHA1/9 1369s ok 382 /checksum/SHA1/10 1369s ok 383 /checksum/SHA1/11 1369s ok 384 /checksum/SHA1/12 1369s ok 385 /checksum/SHA1/13 1369s ok 386 /checksum/SHA1/14 1369s ok 387 /checksum/SHA1/15 1369s ok 388 /checksum/SHA1/16 1369s ok 389 /checksum/SHA1/17 1369s ok 390 /checksum/SHA1/18 1369s ok 391 /checksum/SHA1/19 1369s ok 392 /checksum/SHA1/20 1369s ok 393 /checksum/SHA1/21 1369s ok 394 /checksum/SHA1/22 1369s ok 395 /checksum/SHA1/23 1369s ok 396 /checksum/SHA1/24 1369s ok 397 /checksum/SHA1/25 1369s ok 398 /checksum/SHA1/26 1369s ok 399 /checksum/SHA1/27 1369s ok 400 /checksum/SHA1/28 1369s ok 401 /checksum/SHA1/29 1369s ok 402 /checksum/SHA1/30 1369s ok 403 /checksum/SHA1/31 1369s ok 404 /checksum/SHA1/32 1369s ok 405 /checksum/SHA1/33 1369s ok 406 /checksum/SHA1/34 1369s ok 407 /checksum/SHA1/35 1369s ok 408 /checksum/SHA1/36 1369s ok 409 /checksum/SHA1/37 1369s ok 410 /checksum/SHA1/38 1369s ok 411 /checksum/SHA1/39 1369s ok 412 /checksum/SHA1/40 1369s ok 413 /checksum/SHA1/41 1369s ok 414 /checksum/SHA1/42 1369s ok 415 /checksum/SHA1/43 1369s ok 416 /checksum/SHA1/44 1369s ok 417 /checksum/SHA1/45 1369s ok 418 /checksum/SHA1/46 1369s ok 419 /checksum/SHA1/47 1369s ok 420 /checksum/SHA1/48 1369s ok 421 /checksum/SHA1/49 1369s ok 422 /checksum/SHA1/50 1369s ok 423 /checksum/SHA1/51 1369s ok 424 /checksum/SHA1/52 1369s ok 425 /checksum/SHA1/53 1369s ok 426 /checksum/SHA1/54 1369s ok 427 /checksum/SHA1/55 1369s ok 428 /checksum/SHA1/56 1369s ok 429 /checksum/SHA1/57 1369s ok 430 /checksum/SHA1/58 1369s ok 431 /checksum/SHA1/59 1369s ok 432 /checksum/SHA1/60 1369s ok 433 /checksum/SHA1/61 1369s ok 434 /checksum/SHA1/62 1369s ok 435 /checksum/SHA1/63 1369s ok 436 /checksum/SHA1/64 1369s ok 437 /checksum/SHA1/65 1369s ok 438 /checksum/SHA1/66 1369s ok 439 /checksum/SHA1/67 1369s ok 440 /checksum/SHA1/68 1369s ok 441 /checksum/SHA1/69 1369s ok 442 /checksum/SHA1/70 1369s ok 443 /checksum/SHA1/71 1369s ok 444 /checksum/SHA1/72 1369s ok 445 /checksum/SHA1/73 1369s ok 446 /checksum/SHA1/74 1369s ok 447 /checksum/SHA1/75 1369s ok 448 /checksum/SHA1/76 1369s ok 449 /checksum/SHA1/77 1369s ok 450 /checksum/SHA1/78 1369s ok 451 /checksum/SHA1/79 1369s ok 452 /checksum/SHA1/80 1369s ok 453 /checksum/SHA1/81 1369s ok 454 /checksum/SHA1/82 1369s ok 455 /checksum/SHA1/83 1369s ok 456 /checksum/SHA1/84 1369s ok 457 /checksum/SHA1/85 1369s ok 458 /checksum/SHA1/86 1369s ok 459 /checksum/SHA1/87 1369s ok 460 /checksum/SHA1/88 1369s ok 461 /checksum/SHA1/89 1369s ok 462 /checksum/SHA1/90 1369s ok 463 /checksum/SHA1/91 1369s ok 464 /checksum/SHA1/92 1369s ok 465 /checksum/SHA1/93 1369s ok 466 /checksum/SHA1/94 1369s ok 467 /checksum/SHA1/95 1369s ok 468 /checksum/SHA1/96 1369s ok 469 /checksum/SHA1/97 1369s ok 470 /checksum/SHA1/98 1369s ok 471 /checksum/SHA1/99 1369s ok 472 /checksum/SHA1/100 1369s ok 473 /checksum/SHA1/101 1369s ok 474 /checksum/SHA1/102 1369s ok 475 /checksum/SHA1/103 1369s ok 476 /checksum/SHA1/104 1369s ok 477 /checksum/SHA1/105 1369s ok 478 /checksum/SHA1/106 1369s ok 479 /checksum/SHA1/107 1369s ok 480 /checksum/SHA1/108 1369s ok 481 /checksum/SHA1/109 1369s ok 482 /checksum/SHA1/110 1369s ok 483 /checksum/SHA1/111 1369s ok 484 /checksum/SHA1/112 1369s ok 485 /checksum/SHA1/113 1369s ok 486 /checksum/SHA1/114 1369s ok 487 /checksum/SHA1/115 1369s ok 488 /checksum/SHA1/116 1369s ok 489 /checksum/SHA1/117 1369s ok 490 /checksum/SHA1/118 1369s ok 491 /checksum/SHA1/119 1369s ok 492 /checksum/SHA1/120 1369s ok 493 /checksum/SHA1/121 1369s ok 494 /checksum/SHA1/122 1369s ok 495 /checksum/SHA1/123 1369s ok 496 /checksum/SHA1/124 1369s ok 497 /checksum/SHA1/125 1369s ok 498 /checksum/SHA1/126 1369s ok 499 /checksum/SHA1/127 1369s ok 500 /checksum/SHA1/128 1369s ok 501 /checksum/SHA1/129 1369s ok 502 /checksum/SHA1/130 1369s ok 503 /checksum/SHA1/131 1369s ok 504 /checksum/SHA1/132 1369s ok 505 /checksum/SHA1/133 1369s ok 506 /checksum/SHA1/134 1369s ok 507 /checksum/SHA1/135 1369s ok 508 /checksum/SHA1/136 1369s ok 509 /checksum/SHA1/137 1369s ok 510 /checksum/SHA1/138 1369s ok 511 /checksum/SHA1/139 1369s ok 512 /checksum/SHA1/140 1369s ok 513 /checksum/SHA1/141 1369s ok 514 /checksum/SHA1/142 1369s ok 515 /checksum/SHA1/143 1369s ok 516 /checksum/SHA1/144 1369s ok 517 /checksum/SHA1/145 1369s ok 518 /checksum/SHA1/146 1369s ok 519 /checksum/SHA1/147 1369s ok 520 /checksum/SHA1/148 1369s ok 521 /checksum/SHA1/149 1369s ok 522 /checksum/SHA1/150 1369s ok 523 /checksum/SHA1/151 1369s ok 524 /checksum/SHA1/152 1369s ok 525 /checksum/SHA1/153 1369s ok 526 /checksum/SHA1/154 1369s ok 527 /checksum/SHA1/155 1369s ok 528 /checksum/SHA1/156 1369s ok 529 /checksum/SHA1/157 1369s ok 530 /checksum/SHA1/158 1369s ok 531 /checksum/SHA1/159 1369s ok 532 /checksum/SHA1/160 1369s ok 533 /checksum/SHA1/161 1369s ok 534 /checksum/SHA1/162 1369s ok 535 /checksum/SHA1/163 1369s ok 536 /checksum/SHA1/164 1369s ok 537 /checksum/SHA1/165 1369s ok 538 /checksum/SHA1/166 1369s ok 539 /checksum/SHA1/167 1369s ok 540 /checksum/SHA1/168 1369s ok 541 /checksum/SHA1/169 1369s ok 542 /checksum/SHA1/170 1369s ok 543 /checksum/SHA1/171 1369s ok 544 /checksum/SHA1/172 1369s ok 545 /checksum/SHA1/173 1369s ok 546 /checksum/SHA1/174 1369s ok 547 /checksum/SHA1/175 1369s ok 548 /checksum/SHA1/176 1369s ok 549 /checksum/SHA1/177 1369s ok 550 /checksum/SHA1/178 1369s ok 551 /checksum/SHA1/179 1369s ok 552 /checksum/SHA1/180 1369s ok 553 /checksum/SHA1/181 1369s ok 554 /checksum/SHA1/182 1369s ok 555 /checksum/SHA1/183 1369s ok 556 /checksum/SHA1/string 1369s ok 557 /checksum/SHA1/bytes 1369s # Start of reset tests 1369s ok 558 /checksum/SHA1/reset/0 1369s ok 559 /checksum/SHA1/reset/1 1369s ok 560 /checksum/SHA1/reset/2 1369s ok 561 /checksum/SHA1/reset/3 1369s ok 562 /checksum/SHA1/reset/4 1369s ok 563 /checksum/SHA1/reset/5 1369s ok 564 /checksum/SHA1/reset/6 1369s ok 565 /checksum/SHA1/reset/7 1369s ok 566 /checksum/SHA1/reset/8 1369s ok 567 /checksum/SHA1/reset/9 1369s ok 568 /checksum/SHA1/reset/10 1369s ok 569 /checksum/SHA1/reset/11 1369s ok 570 /checksum/SHA1/reset/12 1369s ok 571 /checksum/SHA1/reset/13 1369s ok 572 /checksum/SHA1/reset/14 1369s ok 573 /checksum/SHA1/reset/15 1369s ok 574 /checksum/SHA1/reset/16 1369s ok 575 /checksum/SHA1/reset/17 1369s ok 576 /checksum/SHA1/reset/18 1369s ok 577 /checksum/SHA1/reset/19 1369s ok 578 /checksum/SHA1/reset/20 1369s ok 579 /checksum/SHA1/reset/21 1369s ok 580 /checksum/SHA1/reset/22 1369s ok 581 /checksum/SHA1/reset/23 1369s ok 582 /checksum/SHA1/reset/24 1369s ok 583 /checksum/SHA1/reset/25 1369s ok 584 /checksum/SHA1/reset/26 1369s ok 585 /checksum/SHA1/reset/27 1369s ok 586 /checksum/SHA1/reset/28 1369s ok 587 /checksum/SHA1/reset/29 1369s ok 588 /checksum/SHA1/reset/30 1369s ok 589 /checksum/SHA1/reset/31 1369s ok 590 /checksum/SHA1/reset/32 1369s ok 591 /checksum/SHA1/reset/33 1369s ok 592 /checksum/SHA1/reset/34 1369s ok 593 /checksum/SHA1/reset/35 1369s ok 594 /checksum/SHA1/reset/36 1369s ok 595 /checksum/SHA1/reset/37 1369s ok 596 /checksum/SHA1/reset/38 1369s ok 597 /checksum/SHA1/reset/39 1369s ok 598 /checksum/SHA1/reset/40 1369s ok 599 /checksum/SHA1/reset/41 1369s ok 600 /checksum/SHA1/reset/42 1369s ok 601 /checksum/SHA1/reset/43 1369s ok 602 /checksum/SHA1/reset/44 1369s ok 603 /checksum/SHA1/reset/45 1369s ok 604 /checksum/SHA1/reset/46 1369s ok 605 /checksum/SHA1/reset/47 1369s ok 606 /checksum/SHA1/reset/48 1369s ok 607 /checksum/SHA1/reset/49 1369s ok 608 /checksum/SHA1/reset/50 1369s ok 609 /checksum/SHA1/reset/51 1369s ok 610 /checksum/SHA1/reset/52 1369s ok 611 /checksum/SHA1/reset/53 1369s ok 612 /checksum/SHA1/reset/54 1369s ok 613 /checksum/SHA1/reset/55 1369s ok 614 /checksum/SHA1/reset/56 1369s ok 615 /checksum/SHA1/reset/57 1369s ok 616 /checksum/SHA1/reset/58 1369s ok 617 /checksum/SHA1/reset/59 1369s ok 618 /checksum/SHA1/reset/60 1369s ok 619 /checksum/SHA1/reset/61 1369s ok 620 /checksum/SHA1/reset/62 1369s ok 621 /checksum/SHA1/reset/63 1369s ok 622 /checksum/SHA1/reset/64 1369s ok 623 /checksum/SHA1/reset/65 1369s ok 624 /checksum/SHA1/reset/66 1369s ok 625 /checksum/SHA1/reset/67 1369s ok 626 /checksum/SHA1/reset/68 1369s ok 627 /checksum/SHA1/reset/69 1369s ok 628 /checksum/SHA1/reset/70 1369s ok 629 /checksum/SHA1/reset/71 1369s ok 630 /checksum/SHA1/reset/72 1369s ok 631 /checksum/SHA1/reset/73 1369s ok 632 /checksum/SHA1/reset/74 1369s ok 633 /checksum/SHA1/reset/75 1369s ok 634 /checksum/SHA1/reset/76 1369s ok 635 /checksum/SHA1/reset/77 1369s ok 636 /checksum/SHA1/reset/78 1369s ok 637 /checksum/SHA1/reset/79 1369s ok 638 /checksum/SHA1/reset/80 1369s ok 639 /checksum/SHA1/reset/81 1369s ok 640 /checksum/SHA1/reset/82 1369s ok 641 /checksum/SHA1/reset/83 1369s ok 642 /checksum/SHA1/reset/84 1369s ok 643 /checksum/SHA1/reset/85 1369s ok 644 /checksum/SHA1/reset/86 1369s ok 645 /checksum/SHA1/reset/87 1369s ok 646 /checksum/SHA1/reset/88 1369s ok 647 /checksum/SHA1/reset/89 1369s ok 648 /checksum/SHA1/reset/90 1369s ok 649 /checksum/SHA1/reset/91 1369s ok 650 /checksum/SHA1/reset/92 1369s ok 651 /checksum/SHA1/reset/93 1369s ok 652 /checksum/SHA1/reset/94 1369s ok 653 /checksum/SHA1/reset/95 1369s ok 654 /checksum/SHA1/reset/96 1369s ok 655 /checksum/SHA1/reset/97 1369s ok 656 /checksum/SHA1/reset/98 1369s ok 657 /checksum/SHA1/reset/99 1369s ok 658 /checksum/SHA1/reset/100 1369s ok 659 /checksum/SHA1/reset/101 1369s ok 660 /checksum/SHA1/reset/102 1369s ok 661 /checksum/SHA1/reset/103 1369s ok 662 /checksum/SHA1/reset/104 1369s ok 663 /checksum/SHA1/reset/105 1369s ok 664 /checksum/SHA1/reset/106 1369s ok 665 /checksum/SHA1/reset/107 1369s ok 666 /checksum/SHA1/reset/108 1369s ok 667 /checksum/SHA1/reset/109 1369s ok 668 /checksum/SHA1/reset/110 1369s ok 669 /checksum/SHA1/reset/111 1369s ok 670 /checksum/SHA1/reset/112 1369s ok 671 /checksum/SHA1/reset/113 1369s ok 672 /checksum/SHA1/reset/114 1369s ok 673 /checksum/SHA1/reset/115 1369s ok 674 /checksum/SHA1/reset/116 1369s ok 675 /checksum/SHA1/reset/117 1369s ok 676 /checksum/SHA1/reset/118 1369s ok 677 /checksum/SHA1/reset/119 1369s ok 678 /checksum/SHA1/reset/120 1369s ok 679 /checksum/SHA1/reset/121 1369s ok 680 /checksum/SHA1/reset/122 1369s ok 681 /checksum/SHA1/reset/123 1369s ok 682 /checksum/SHA1/reset/124 1369s ok 683 /checksum/SHA1/reset/125 1369s ok 684 /checksum/SHA1/reset/126 1369s ok 685 /checksum/SHA1/reset/127 1369s ok 686 /checksum/SHA1/reset/128 1369s ok 687 /checksum/SHA1/reset/129 1369s ok 688 /checksum/SHA1/reset/130 1369s ok 689 /checksum/SHA1/reset/131 1369s ok 690 /checksum/SHA1/reset/132 1369s ok 691 /checksum/SHA1/reset/133 1369s ok 692 /checksum/SHA1/reset/134 1369s ok 693 /checksum/SHA1/reset/135 1369s ok 694 /checksum/SHA1/reset/136 1369s ok 695 /checksum/SHA1/reset/137 1369s ok 696 /checksum/SHA1/reset/138 1369s ok 697 /checksum/SHA1/reset/139 1369s ok 698 /checksum/SHA1/reset/140 1369s ok 699 /checksum/SHA1/reset/141 1369s ok 700 /checksum/SHA1/reset/142 1369s ok 701 /checksum/SHA1/reset/143 1369s ok 702 /checksum/SHA1/reset/144 1369s ok 703 /checksum/SHA1/reset/145 1369s ok 704 /checksum/SHA1/reset/146 1369s ok 705 /checksum/SHA1/reset/147 1369s ok 706 /checksum/SHA1/reset/148 1369s ok 707 /checksum/SHA1/reset/149 1369s ok 708 /checksum/SHA1/reset/150 1369s ok 709 /checksum/SHA1/reset/151 1369s ok 710 /checksum/SHA1/reset/152 1369s ok 711 /checksum/SHA1/reset/153 1369s ok 712 /checksum/SHA1/reset/154 1369s ok 713 /checksum/SHA1/reset/155 1369s ok 714 /checksum/SHA1/reset/156 1369s ok 715 /checksum/SHA1/reset/157 1369s ok 716 /checksum/SHA1/reset/158 1369s ok 717 /checksum/SHA1/reset/159 1369s ok 718 /checksum/SHA1/reset/160 1369s ok 719 /checksum/SHA1/reset/161 1369s ok 720 /checksum/SHA1/reset/162 1369s ok 721 /checksum/SHA1/reset/163 1369s ok 722 /checksum/SHA1/reset/164 1369s ok 723 /checksum/SHA1/reset/165 1369s ok 724 /checksum/SHA1/reset/166 1369s ok 725 /checksum/SHA1/reset/167 1369s ok 726 /checksum/SHA1/reset/168 1369s ok 727 /checksum/SHA1/reset/169 1369s ok 728 /checksum/SHA1/reset/170 1369s ok 729 /checksum/SHA1/reset/171 1369s ok 730 /checksum/SHA1/reset/172 1369s ok 731 /checksum/SHA1/reset/173 1369s ok 732 /checksum/SHA1/reset/174 1369s ok 733 /checksum/SHA1/reset/175 1369s ok 734 /checksum/SHA1/reset/176 1369s ok 735 /checksum/SHA1/reset/177 1369s ok 736 /checksum/SHA1/reset/178 1369s ok 737 /checksum/SHA1/reset/179 1369s ok 738 /checksum/SHA1/reset/180 1369s ok 739 /checksum/SHA1/reset/181 1369s ok 740 /checksum/SHA1/reset/182 1369s ok 741 /checksum/SHA1/reset/183 1369s # End of reset tests 1369s # End of SHA1 tests 1369s # Start of SHA256 tests 1369s ok 742 /checksum/SHA256/0 1369s ok 743 /checksum/SHA256/1 1369s ok 744 /checksum/SHA256/2 1369s ok 745 /checksum/SHA256/3 1369s ok 746 /checksum/SHA256/4 1369s ok 747 /checksum/SHA256/5 1369s ok 748 /checksum/SHA256/6 1369s ok 749 /checksum/SHA256/7 1369s ok 750 /checksum/SHA256/8 1369s ok 751 /checksum/SHA256/9 1369s ok 752 /checksum/SHA256/10 1369s ok 753 /checksum/SHA256/11 1369s ok 754 /checksum/SHA256/12 1369s ok 755 /checksum/SHA256/13 1369s ok 756 /checksum/SHA256/14 1369s ok 757 /checksum/SHA256/15 1369s ok 758 /checksum/SHA256/16 1369s ok 759 /checksum/SHA256/17 1369s ok 760 /checksum/SHA256/18 1369s ok 761 /checksum/SHA256/19 1369s ok 762 /checksum/SHA256/20 1369s ok 763 /checksum/SHA256/21 1369s ok 764 /checksum/SHA256/22 1369s ok 765 /checksum/SHA256/23 1369s ok 766 /checksum/SHA256/24 1369s ok 767 /checksum/SHA256/25 1369s ok 768 /checksum/SHA256/26 1369s ok 769 /checksum/SHA256/27 1369s ok 770 /checksum/SHA256/28 1369s ok 771 /checksum/SHA256/29 1369s ok 772 /checksum/SHA256/30 1369s ok 773 /checksum/SHA256/31 1369s ok 774 /checksum/SHA256/32 1369s ok 775 /checksum/SHA256/33 1369s ok 776 /checksum/SHA256/34 1369s ok 777 /checksum/SHA256/35 1369s ok 778 /checksum/SHA256/36 1369s ok 779 /checksum/SHA256/37 1369s ok 780 /checksum/SHA256/38 1369s ok 781 /checksum/SHA256/39 1369s ok 782 /checksum/SHA256/40 1369s ok 783 /checksum/SHA256/41 1369s ok 784 /checksum/SHA256/42 1369s ok 785 /checksum/SHA256/43 1369s ok 786 /checksum/SHA256/44 1369s ok 787 /checksum/SHA256/45 1369s ok 788 /checksum/SHA256/46 1369s ok 789 /checksum/SHA256/47 1369s ok 790 /checksum/SHA256/48 1369s ok 791 /checksum/SHA256/49 1369s ok 792 /checksum/SHA256/50 1369s ok 793 /checksum/SHA256/51 1369s ok 794 /checksum/SHA256/52 1369s ok 795 /checksum/SHA256/53 1369s ok 796 /checksum/SHA256/54 1369s ok 797 /checksum/SHA256/55 1369s ok 798 /checksum/SHA256/56 1369s ok 799 /checksum/SHA256/57 1369s ok 800 /checksum/SHA256/58 1369s ok 801 /checksum/SHA256/59 1369s ok 802 /checksum/SHA256/60 1369s ok 803 /checksum/SHA256/61 1369s ok 804 /checksum/SHA256/62 1369s ok 805 /checksum/SHA256/63 1369s ok 806 /checksum/SHA256/64 1369s ok 807 /checksum/SHA256/65 1369s ok 808 /checksum/SHA256/66 1369s ok 809 /checksum/SHA256/67 1369s ok 810 /checksum/SHA256/68 1369s ok 811 /checksum/SHA256/69 1369s ok 812 /checksum/SHA256/70 1369s ok 813 /checksum/SHA256/71 1369s ok 814 /checksum/SHA256/72 1369s ok 815 /checksum/SHA256/73 1369s ok 816 /checksum/SHA256/74 1369s ok 817 /checksum/SHA256/75 1369s ok 818 /checksum/SHA256/76 1369s ok 819 /checksum/SHA256/77 1369s ok 820 /checksum/SHA256/78 1369s ok 821 /checksum/SHA256/79 1369s ok 822 /checksum/SHA256/80 1369s ok 823 /checksum/SHA256/81 1369s ok 824 /checksum/SHA256/82 1369s ok 825 /checksum/SHA256/83 1369s ok 826 /checksum/SHA256/84 1369s ok 827 /checksum/SHA256/85 1369s ok 828 /checksum/SHA256/86 1369s ok 829 /checksum/SHA256/87 1369s ok 830 /checksum/SHA256/88 1369s ok 831 /checksum/SHA256/89 1369s ok 832 /checksum/SHA256/90 1369s ok 833 /checksum/SHA256/91 1369s ok 834 /checksum/SHA256/92 1369s ok 835 /checksum/SHA256/93 1369s ok 836 /checksum/SHA256/94 1369s ok 837 /checksum/SHA256/95 1369s ok 838 /checksum/SHA256/96 1369s ok 839 /checksum/SHA256/97 1369s ok 840 /checksum/SHA256/98 1369s ok 841 /checksum/SHA256/99 1369s ok 842 /checksum/SHA256/100 1369s ok 843 /checksum/SHA256/101 1369s ok 844 /checksum/SHA256/102 1369s ok 845 /checksum/SHA256/103 1369s ok 846 /checksum/SHA256/104 1369s ok 847 /checksum/SHA256/105 1369s ok 848 /checksum/SHA256/106 1369s ok 849 /checksum/SHA256/107 1369s ok 850 /checksum/SHA256/108 1369s ok 851 /checksum/SHA256/109 1369s ok 852 /checksum/SHA256/110 1369s ok 853 /checksum/SHA256/111 1369s ok 854 /checksum/SHA256/112 1369s ok 855 /checksum/SHA256/113 1369s ok 856 /checksum/SHA256/114 1369s ok 857 /checksum/SHA256/115 1369s ok 858 /checksum/SHA256/116 1369s ok 859 /checksum/SHA256/117 1369s ok 860 /checksum/SHA256/118 1369s ok 861 /checksum/SHA256/119 1369s ok 862 /checksum/SHA256/120 1369s ok 863 /checksum/SHA256/121 1369s ok 864 /checksum/SHA256/122 1369s ok 865 /checksum/SHA256/123 1369s ok 866 /checksum/SHA256/124 1369s ok 867 /checksum/SHA256/125 1369s ok 868 /checksum/SHA256/126 1369s ok 869 /checksum/SHA256/127 1369s ok 870 /checksum/SHA256/128 1369s ok 871 /checksum/SHA256/129 1369s ok 872 /checksum/SHA256/130 1369s ok 873 /checksum/SHA256/131 1369s ok 874 /checksum/SHA256/132 1369s ok 875 /checksum/SHA256/133 1369s ok 876 /checksum/SHA256/134 1369s ok 877 /checksum/SHA256/135 1369s ok 878 /checksum/SHA256/136 1369s ok 879 /checksum/SHA256/137 1369s ok 880 /checksum/SHA256/138 1369s ok 881 /checksum/SHA256/139 1369s ok 882 /checksum/SHA256/140 1369s ok 883 /checksum/SHA256/141 1369s ok 884 /checksum/SHA256/142 1369s ok 885 /checksum/SHA256/143 1369s ok 886 /checksum/SHA256/144 1369s ok 887 /checksum/SHA256/145 1369s ok 888 /checksum/SHA256/146 1369s ok 889 /checksum/SHA256/147 1369s ok 890 /checksum/SHA256/148 1369s ok 891 /checksum/SHA256/149 1369s ok 892 /checksum/SHA256/150 1369s ok 893 /checksum/SHA256/151 1369s ok 894 /checksum/SHA256/152 1369s ok 895 /checksum/SHA256/153 1369s ok 896 /checksum/SHA256/154 1369s ok 897 /checksum/SHA256/155 1369s ok 898 /checksum/SHA256/156 1369s ok 899 /checksum/SHA256/157 1369s ok 900 /checksum/SHA256/158 1369s ok 901 /checksum/SHA256/159 1369s ok 902 /checksum/SHA256/160 1369s ok 903 /checksum/SHA256/161 1369s ok 904 /checksum/SHA256/162 1369s ok 905 /checksum/SHA256/163 1369s ok 906 /checksum/SHA256/164 1369s ok 907 /checksum/SHA256/165 1369s ok 908 /checksum/SHA256/166 1369s ok 909 /checksum/SHA256/167 1369s ok 910 /checksum/SHA256/168 1369s ok 911 /checksum/SHA256/169 1369s ok 912 /checksum/SHA256/170 1369s ok 913 /checksum/SHA256/171 1369s ok 914 /checksum/SHA256/172 1369s ok 915 /checksum/SHA256/173 1369s ok 916 /checksum/SHA256/174 1369s ok 917 /checksum/SHA256/175 1369s ok 918 /checksum/SHA256/176 1369s ok 919 /checksum/SHA256/177 1369s ok 920 /checksum/SHA256/178 1369s ok 921 /checksum/SHA256/179 1369s ok 922 /checksum/SHA256/180 1369s ok 923 /checksum/SHA256/181 1369s ok 924 /checksum/SHA256/182 1369s ok 925 /checksum/SHA256/183 1369s ok 926 /checksum/SHA256/string 1369s ok 927 /checksum/SHA256/bytes 1369s # Start of reset tests 1369s ok 928 /checksum/SHA256/reset/0 1369s ok 929 /checksum/SHA256/reset/1 1369s ok 930 /checksum/SHA256/reset/2 1369s ok 931 /checksum/SHA256/reset/3 1369s ok 932 /checksum/SHA256/reset/4 1369s ok 933 /checksum/SHA256/reset/5 1369s ok 934 /checksum/SHA256/reset/6 1369s ok 935 /checksum/SHA256/reset/7 1369s ok 936 /checksum/SHA256/reset/8 1369s ok 937 /checksum/SHA256/reset/9 1369s ok 938 /checksum/SHA256/reset/10 1369s ok 939 /checksum/SHA256/reset/11 1369s ok 940 /checksum/SHA256/reset/12 1369s ok 941 /checksum/SHA256/reset/13 1369s ok 942 /checksum/SHA256/reset/14 1369s ok 943 /checksum/SHA256/reset/15 1369s ok 944 /checksum/SHA256/reset/16 1369s ok 945 /checksum/SHA256/reset/17 1369s ok 946 /checksum/SHA256/reset/18 1369s ok 947 /checksum/SHA256/reset/19 1369s ok 948 /checksum/SHA256/reset/20 1369s ok 949 /checksum/SHA256/reset/21 1369s ok 950 /checksum/SHA256/reset/22 1369s ok 951 /checksum/SHA256/reset/23 1369s ok 952 /checksum/SHA256/reset/24 1369s ok 953 /checksum/SHA256/reset/25 1369s ok 954 /checksum/SHA256/reset/26 1369s ok 955 /checksum/SHA256/reset/27 1369s ok 956 /checksum/SHA256/reset/28 1369s ok 957 /checksum/SHA256/reset/29 1369s ok 958 /checksum/SHA256/reset/30 1369s ok 959 /checksum/SHA256/reset/31 1369s ok 960 /checksum/SHA256/reset/32 1369s ok 961 /checksum/SHA256/reset/33 1369s ok 962 /checksum/SHA256/reset/34 1369s ok 963 /checksum/SHA256/reset/35 1369s ok 964 /checksum/SHA256/reset/36 1369s ok 965 /checksum/SHA256/reset/37 1369s ok 966 /checksum/SHA256/reset/38 1369s ok 967 /checksum/SHA256/reset/39 1369s ok 968 /checksum/SHA256/reset/40 1369s ok 969 /checksum/SHA256/reset/41 1369s ok 970 /checksum/SHA256/reset/42 1369s ok 971 /checksum/SHA256/reset/43 1369s ok 972 /checksum/SHA256/reset/44 1369s ok 973 /checksum/SHA256/reset/45 1369s ok 974 /checksum/SHA256/reset/46 1369s ok 975 /checksum/SHA256/reset/47 1369s ok 976 /checksum/SHA256/reset/48 1369s ok 977 /checksum/SHA256/reset/49 1369s ok 978 /checksum/SHA256/reset/50 1369s ok 979 /checksum/SHA256/reset/51 1369s ok 980 /checksum/SHA256/reset/52 1369s ok 981 /checksum/SHA256/reset/53 1369s ok 982 /checksum/SHA256/reset/54 1369s ok 983 /checksum/SHA256/reset/55 1369s ok 984 /checksum/SHA256/reset/56 1369s ok 985 /checksum/SHA256/reset/57 1369s ok 986 /checksum/SHA256/reset/58 1369s ok 987 /checksum/SHA256/reset/59 1369s ok 988 /checksum/SHA256/reset/60 1369s ok 989 /checksum/SHA256/reset/61 1369s ok 990 /checksum/SHA256/reset/62 1369s ok 991 /checksum/SHA256/reset/63 1369s ok 992 /checksum/SHA256/reset/64 1369s ok 993 /checksum/SHA256/reset/65 1369s ok 994 /checksum/SHA256/reset/66 1369s ok 995 /checksum/SHA256/reset/67 1369s ok 996 /checksum/SHA256/reset/68 1369s ok 997 /checksum/SHA256/reset/69 1369s ok 998 /checksum/SHA256/reset/70 1369s ok 999 /checksum/SHA256/reset/71 1369s ok 1000 /checksum/SHA256/reset/72 1369s ok 1001 /checksum/SHA256/reset/73 1369s ok 1002 /checksum/SHA256/reset/74 1369s ok 1003 /checksum/SHA256/reset/75 1369s ok 1004 /checksum/SHA256/reset/76 1369s ok 1005 /checksum/SHA256/reset/77 1369s ok 1006 /checksum/SHA256/reset/78 1369s ok 1007 /checksum/SHA256/reset/79 1369s ok 1008 /checksum/SHA256/reset/80 1369s ok 1009 /checksum/SHA256/reset/81 1369s ok 1010 /checksum/SHA256/reset/82 1369s ok 1011 /checksum/SHA256/reset/83 1369s ok 1012 /checksum/SHA256/reset/84 1369s ok 1013 /checksum/SHA256/reset/85 1369s ok 1014 /checksum/SHA256/reset/86 1369s ok 1015 /checksum/SHA256/reset/87 1369s ok 1016 /checksum/SHA256/reset/88 1369s ok 1017 /checksum/SHA256/reset/89 1369s ok 1018 /checksum/SHA256/reset/90 1369s ok 1019 /checksum/SHA256/reset/91 1369s ok 1020 /checksum/SHA256/reset/92 1369s ok 1021 /checksum/SHA256/reset/93 1369s ok 1022 /checksum/SHA256/reset/94 1369s ok 1023 /checksum/SHA256/reset/95 1369s ok 1024 /checksum/SHA256/reset/96 1369s ok 1025 /checksum/SHA256/reset/97 1369s ok 1026 /checksum/SHA256/reset/98 1369s ok 1027 /checksum/SHA256/reset/99 1369s ok 1028 /checksum/SHA256/reset/100 1369s ok 1029 /checksum/SHA256/reset/101 1369s ok 1030 /checksum/SHA256/reset/102 1369s ok 1031 /checksum/SHA256/reset/103 1369s ok 1032 /checksum/SHA256/reset/104 1369s ok 1033 /checksum/SHA256/reset/105 1369s ok 1034 /checksum/SHA256/reset/106 1369s ok 1035 /checksum/SHA256/reset/107 1369s ok 1036 /checksum/SHA256/reset/108 1369s ok 1037 /checksum/SHA256/reset/109 1369s ok 1038 /checksum/SHA256/reset/110 1369s ok 1039 /checksum/SHA256/reset/111 1369s ok 1040 /checksum/SHA256/reset/112 1369s ok 1041 /checksum/SHA256/reset/113 1369s ok 1042 /checksum/SHA256/reset/114 1369s ok 1043 /checksum/SHA256/reset/115 1369s ok 1044 /checksum/SHA256/reset/116 1369s ok 1045 /checksum/SHA256/reset/117 1369s ok 1046 /checksum/SHA256/reset/118 1369s ok 1047 /checksum/SHA256/reset/119 1369s ok 1048 /checksum/SHA256/reset/120 1369s ok 1049 /checksum/SHA256/reset/121 1369s ok 1050 /checksum/SHA256/reset/122 1369s ok 1051 /checksum/SHA256/reset/123 1369s ok 1052 /checksum/SHA256/reset/124 1369s ok 1053 /checksum/SHA256/reset/125 1369s ok 1054 /checksum/SHA256/reset/126 1369s ok 1055 /checksum/SHA256/reset/127 1369s ok 1056 /checksum/SHA256/reset/128 1369s ok 1057 /checksum/SHA256/reset/129 1369s ok 1058 /checksum/SHA256/reset/130 1369s ok 1059 /checksum/SHA256/reset/131 1369s ok 1060 /checksum/SHA256/reset/132 1369s ok 1061 /checksum/SHA256/reset/133 1369s ok 1062 /checksum/SHA256/reset/134 1369s ok 1063 /checksum/SHA256/reset/135 1369s ok 1064 /checksum/SHA256/reset/136 1369s ok 1065 /checksum/SHA256/reset/137 1369s ok 1066 /checksum/SHA256/reset/138 1369s ok 1067 /checksum/SHA256/reset/139 1369s ok 1068 /checksum/SHA256/reset/140 1369s ok 1069 /checksum/SHA256/reset/141 1369s ok 1070 /checksum/SHA256/reset/142 1369s ok 1071 /checksum/SHA256/reset/143 1369s ok 1072 /checksum/SHA256/reset/144 1369s ok 1073 /checksum/SHA256/reset/145 1369s ok 1074 /checksum/SHA256/reset/146 1369s ok 1075 /checksum/SHA256/reset/147 1369s ok 1076 /checksum/SHA256/reset/148 1369s ok 1077 /checksum/SHA256/reset/149 1369s ok 1078 /checksum/SHA256/reset/150 1369s ok 1079 /checksum/SHA256/reset/151 1369s ok 1080 /checksum/SHA256/reset/152 1369s ok 1081 /checksum/SHA256/reset/153 1369s ok 1082 /checksum/SHA256/reset/154 1369s ok 1083 /checksum/SHA256/reset/155 1369s ok 1084 /checksum/SHA256/reset/156 1369s ok 1085 /checksum/SHA256/reset/157 1369s ok 1086 /checksum/SHA256/reset/158 1369s ok 1087 /checksum/SHA256/reset/159 1369s ok 1088 /checksum/SHA256/reset/160 1369s ok 1089 /checksum/SHA256/reset/161 1369s ok 1090 /checksum/SHA256/reset/162 1369s ok 1091 /checksum/SHA256/reset/163 1369s ok 1092 /checksum/SHA256/reset/164 1369s ok 1093 /checksum/SHA256/reset/165 1369s ok 1094 /checksum/SHA256/reset/166 1369s ok 1095 /checksum/SHA256/reset/167 1369s ok 1096 /checksum/SHA256/reset/168 1369s ok 1097 /checksum/SHA256/reset/169 1369s ok 1098 /checksum/SHA256/reset/170 1369s ok 1099 /checksum/SHA256/reset/171 1369s ok 1100 /checksum/SHA256/reset/172 1369s ok 1101 /checksum/SHA256/reset/173 1369s ok 1102 /checksum/SHA256/reset/174 1369s ok 1103 /checksum/SHA256/reset/175 1369s ok 1104 /checksum/SHA256/reset/176 1369s ok 1105 /checksum/SHA256/reset/177 1369s ok 1106 /checksum/SHA256/reset/178 1369s ok 1107 /checksum/SHA256/reset/179 1369s ok 1108 /checksum/SHA256/reset/180 1369s ok 1109 /checksum/SHA256/reset/181 1369s ok 1110 /checksum/SHA256/reset/182 1369s ok 1111 /checksum/SHA256/reset/183 1369s # End of reset tests 1369s # End of SHA256 tests 1369s # Start of SHA384 tests 1369s ok 1112 /checksum/SHA384/0 1369s ok 1113 /checksum/SHA384/1 1369s ok 1114 /checksum/SHA384/2 1369s ok 1115 /checksum/SHA384/3 1369s ok 1116 /checksum/SHA384/4 1369s ok 1117 /checksum/SHA384/5 1369s ok 1118 /checksum/SHA384/6 1369s ok 1119 /checksum/SHA384/7 1369s ok 1120 /checksum/SHA384/8 1369s ok 1121 /checksum/SHA384/9 1369s ok 1122 /checksum/SHA384/10 1369s ok 1123 /checksum/SHA384/11 1369s ok 1124 /checksum/SHA384/12 1369s ok 1125 /checksum/SHA384/13 1369s ok 1126 /checksum/SHA384/14 1369s ok 1127 /checksum/SHA384/15 1369s ok 1128 /checksum/SHA384/16 1369s ok 1129 /checksum/SHA384/17 1369s ok 1130 /checksum/SHA384/18 1369s ok 1131 /checksum/SHA384/19 1369s ok 1132 /checksum/SHA384/20 1369s ok 1133 /checksum/SHA384/21 1369s ok 1134 /checksum/SHA384/22 1369s ok 1135 /checksum/SHA384/23 1369s ok 1136 /checksum/SHA384/24 1369s ok 1137 /checksum/SHA384/25 1369s ok 1138 /checksum/SHA384/26 1369s ok 1139 /checksum/SHA384/27 1369s ok 1140 /checksum/SHA384/28 1369s ok 1141 /checksum/SHA384/29 1369s ok 1142 /checksum/SHA384/30 1369s ok 1143 /checksum/SHA384/31 1369s ok 1144 /checksum/SHA384/32 1369s ok 1145 /checksum/SHA384/33 1369s ok 1146 /checksum/SHA384/34 1369s ok 1147 /checksum/SHA384/35 1369s ok 1148 /checksum/SHA384/36 1369s ok 1149 /checksum/SHA384/37 1369s ok 1150 /checksum/SHA384/38 1369s ok 1151 /checksum/SHA384/39 1369s ok 1152 /checksum/SHA384/40 1369s ok 1153 /checksum/SHA384/41 1369s ok 1154 /checksum/SHA384/42 1369s ok 1155 /checksum/SHA384/43 1369s ok 1156 /checksum/SHA384/44 1369s ok 1157 /checksum/SHA384/45 1369s ok 1158 /checksum/SHA384/46 1369s ok 1159 /checksum/SHA384/47 1369s ok 1160 /checksum/SHA384/48 1369s ok 1161 /checksum/SHA384/49 1369s ok 1162 /checksum/SHA384/50 1369s ok 1163 /checksum/SHA384/51 1369s ok 1164 /checksum/SHA384/52 1369s ok 1165 /checksum/SHA384/53 1369s ok 1166 /checksum/SHA384/54 1369s ok 1167 /checksum/SHA384/55 1369s ok 1168 /checksum/SHA384/56 1369s ok 1169 /checksum/SHA384/57 1369s ok 1170 /checksum/SHA384/58 1369s ok 1171 /checksum/SHA384/59 1369s ok 1172 /checksum/SHA384/60 1369s ok 1173 /checksum/SHA384/61 1369s ok 1174 /checksum/SHA384/62 1369s ok 1175 /checksum/SHA384/63 1369s ok 1176 /checksum/SHA384/64 1369s ok 1177 /checksum/SHA384/65 1369s ok 1178 /checksum/SHA384/66 1369s ok 1179 /checksum/SHA384/67 1369s ok 1180 /checksum/SHA384/68 1369s ok 1181 /checksum/SHA384/69 1369s ok 1182 /checksum/SHA384/70 1369s ok 1183 /checksum/SHA384/71 1369s ok 1184 /checksum/SHA384/72 1369s ok 1185 /checksum/SHA384/73 1369s ok 1186 /checksum/SHA384/74 1369s ok 1187 /checksum/SHA384/75 1369s ok 1188 /checksum/SHA384/76 1369s ok 1189 /checksum/SHA384/77 1369s ok 1190 /checksum/SHA384/78 1369s ok 1191 /checksum/SHA384/79 1369s ok 1192 /checksum/SHA384/80 1369s ok 1193 /checksum/SHA384/81 1369s ok 1194 /checksum/SHA384/82 1369s ok 1195 /checksum/SHA384/83 1369s ok 1196 /checksum/SHA384/84 1369s ok 1197 /checksum/SHA384/85 1369s ok 1198 /checksum/SHA384/86 1369s ok 1199 /checksum/SHA384/87 1369s ok 1200 /checksum/SHA384/88 1369s ok 1201 /checksum/SHA384/89 1369s ok 1202 /checksum/SHA384/90 1369s ok 1203 /checksum/SHA384/91 1369s ok 1204 /checksum/SHA384/92 1369s ok 1205 /checksum/SHA384/93 1369s ok 1206 /checksum/SHA384/94 1369s ok 1207 /checksum/SHA384/95 1369s ok 1208 /checksum/SHA384/96 1369s ok 1209 /checksum/SHA384/97 1369s ok 1210 /checksum/SHA384/98 1369s ok 1211 /checksum/SHA384/99 1369s ok 1212 /checksum/SHA384/100 1369s ok 1213 /checksum/SHA384/101 1369s ok 1214 /checksum/SHA384/102 1369s ok 1215 /checksum/SHA384/103 1369s ok 1216 /checksum/SHA384/104 1369s ok 1217 /checksum/SHA384/105 1369s ok 1218 /checksum/SHA384/106 1369s ok 1219 /checksum/SHA384/107 1369s ok 1220 /checksum/SHA384/108 1369s ok 1221 /checksum/SHA384/109 1369s ok 1222 /checksum/SHA384/110 1369s ok 1223 /checksum/SHA384/111 1369s ok 1224 /checksum/SHA384/112 1369s ok 1225 /checksum/SHA384/113 1369s ok 1226 /checksum/SHA384/114 1369s ok 1227 /checksum/SHA384/115 1369s ok 1228 /checksum/SHA384/116 1369s ok 1229 /checksum/SHA384/117 1369s ok 1230 /checksum/SHA384/118 1369s ok 1231 /checksum/SHA384/119 1369s ok 1232 /checksum/SHA384/120 1369s ok 1233 /checksum/SHA384/121 1369s ok 1234 /checksum/SHA384/122 1369s ok 1235 /checksum/SHA384/123 1369s ok 1236 /checksum/SHA384/124 1369s ok 1237 /checksum/SHA384/125 1369s ok 1238 /checksum/SHA384/126 1369s ok 1239 /checksum/SHA384/127 1369s ok 1240 /checksum/SHA384/128 1369s ok 1241 /checksum/SHA384/129 1369s ok 1242 /checksum/SHA384/130 1369s ok 1243 /checksum/SHA384/131 1369s ok 1244 /checksum/SHA384/132 1369s ok 1245 /checksum/SHA384/133 1369s ok 1246 /checksum/SHA384/134 1369s ok 1247 /checksum/SHA384/135 1369s ok 1248 /checksum/SHA384/136 1369s ok 1249 /checksum/SHA384/137 1369s ok 1250 /checksum/SHA384/138 1369s ok 1251 /checksum/SHA384/139 1369s ok 1252 /checksum/SHA384/140 1369s ok 1253 /checksum/SHA384/141 1369s ok 1254 /checksum/SHA384/142 1369s ok 1255 /checksum/SHA384/143 1369s ok 1256 /checksum/SHA384/144 1369s ok 1257 /checksum/SHA384/145 1369s ok 1258 /checksum/SHA384/146 1369s ok 1259 /checksum/SHA384/147 1369s ok 1260 /checksum/SHA384/148 1369s ok 1261 /checksum/SHA384/149 1369s ok 1262 /checksum/SHA384/150 1369s ok 1263 /checksum/SHA384/151 1369s ok 1264 /checksum/SHA384/152 1369s ok 1265 /checksum/SHA384/153 1369s ok 1266 /checksum/SHA384/154 1369s ok 1267 /checksum/SHA384/155 1369s ok 1268 /checksum/SHA384/156 1369s ok 1269 /checksum/SHA384/157 1369s ok 1270 /checksum/SHA384/158 1369s ok 1271 /checksum/SHA384/159 1369s ok 1272 /checksum/SHA384/160 1369s ok 1273 /checksum/SHA384/161 1369s ok 1274 /checksum/SHA384/162 1369s ok 1275 /checksum/SHA384/163 1369s ok 1276 /checksum/SHA384/164 1369s ok 1277 /checksum/SHA384/165 1369s ok 1278 /checksum/SHA384/166 1369s ok 1279 /checksum/SHA384/167 1369s ok 1280 /checksum/SHA384/168 1369s ok 1281 /checksum/SHA384/169 1369s ok 1282 /checksum/SHA384/170 1369s ok 1283 /checksum/SHA384/171 1369s ok 1284 /checksum/SHA384/172 1369s ok 1285 /checksum/SHA384/173 1369s ok 1286 /checksum/SHA384/174 1369s ok 1287 /checksum/SHA384/175 1369s ok 1288 /checksum/SHA384/176 1369s ok 1289 /checksum/SHA384/177 1369s ok 1290 /checksum/SHA384/178 1369s ok 1291 /checksum/SHA384/179 1369s ok 1292 /checksum/SHA384/180 1369s ok 1293 /checksum/SHA384/181 1369s ok 1294 /checksum/SHA384/182 1369s ok 1295 /checksum/SHA384/183 1369s ok 1296 /checksum/SHA384/string 1369s ok 1297 /checksum/SHA384/bytes 1369s # Start of reset tests 1369s ok 1298 /checksum/SHA384/reset/0 1369s ok 1299 /checksum/SHA384/reset/1 1369s ok 1300 /checksum/SHA384/reset/2 1369s ok 1301 /checksum/SHA384/reset/3 1369s ok 1302 /checksum/SHA384/reset/4 1369s ok 1303 /checksum/SHA384/reset/5 1369s ok 1304 /checksum/SHA384/reset/6 1369s ok 1305 /checksum/SHA384/reset/7 1369s ok 1306 /checksum/SHA384/reset/8 1369s ok 1307 /checksum/SHA384/reset/9 1369s ok 1308 /checksum/SHA384/reset/10 1369s ok 1309 /checksum/SHA384/reset/11 1369s ok 1310 /checksum/SHA384/reset/12 1369s ok 1311 /checksum/SHA384/reset/13 1369s ok 1312 /checksum/SHA384/reset/14 1369s ok 1313 /checksum/SHA384/reset/15 1369s ok 1314 /checksum/SHA384/reset/16 1369s ok 1315 /checksum/SHA384/reset/17 1369s ok 1316 /checksum/SHA384/reset/18 1369s ok 1317 /checksum/SHA384/reset/19 1369s ok 1318 /checksum/SHA384/reset/20 1369s ok 1319 /checksum/SHA384/reset/21 1369s ok 1320 /checksum/SHA384/reset/22 1369s ok 1321 /checksum/SHA384/reset/23 1369s ok 1322 /checksum/SHA384/reset/24 1369s ok 1323 /checksum/SHA384/reset/25 1369s ok 1324 /checksum/SHA384/reset/26 1369s ok 1325 /checksum/SHA384/reset/27 1369s ok 1326 /checksum/SHA384/reset/28 1369s ok 1327 /checksum/SHA384/reset/29 1369s ok 1328 /checksum/SHA384/reset/30 1369s ok 1329 /checksum/SHA384/reset/31 1369s ok 1330 /checksum/SHA384/reset/32 1369s ok 1331 /checksum/SHA384/reset/33 1369s ok 1332 /checksum/SHA384/reset/34 1369s ok 1333 /checksum/SHA384/reset/35 1369s ok 1334 /checksum/SHA384/reset/36 1369s ok 1335 /checksum/SHA384/reset/37 1369s ok 1336 /checksum/SHA384/reset/38 1369s ok 1337 /checksum/SHA384/reset/39 1369s ok 1338 /checksum/SHA384/reset/40 1369s ok 1339 /checksum/SHA384/reset/41 1369s ok 1340 /checksum/SHA384/reset/42 1369s ok 1341 /checksum/SHA384/reset/43 1369s ok 1342 /checksum/SHA384/reset/44 1369s ok 1343 /checksum/SHA384/reset/45 1369s ok 1344 /checksum/SHA384/reset/46 1369s ok 1345 /checksum/SHA384/reset/47 1369s ok 1346 /checksum/SHA384/reset/48 1369s ok 1347 /checksum/SHA384/reset/49 1369s ok 1348 /checksum/SHA384/reset/50 1369s ok 1349 /checksum/SHA384/reset/51 1369s ok 1350 /checksum/SHA384/reset/52 1369s ok 1351 /checksum/SHA384/reset/53 1369s ok 1352 /checksum/SHA384/reset/54 1369s ok 1353 /checksum/SHA384/reset/55 1369s ok 1354 /checksum/SHA384/reset/56 1369s ok 1355 /checksum/SHA384/reset/57 1369s ok 1356 /checksum/SHA384/reset/58 1369s ok 1357 /checksum/SHA384/reset/59 1369s ok 1358 /checksum/SHA384/reset/60 1369s ok 1359 /checksum/SHA384/reset/61 1369s ok 1360 /checksum/SHA384/reset/62 1369s ok 1361 /checksum/SHA384/reset/63 1369s ok 1362 /checksum/SHA384/reset/64 1369s ok 1363 /checksum/SHA384/reset/65 1369s ok 1364 /checksum/SHA384/reset/66 1369s ok 1365 /checksum/SHA384/reset/67 1369s ok 1366 /checksum/SHA384/reset/68 1369s ok 1367 /checksum/SHA384/reset/69 1369s ok 1368 /checksum/SHA384/reset/70 1369s ok 1369 /checksum/SHA384/reset/71 1369s ok 1370 /checksum/SHA384/reset/72 1369s ok 1371 /checksum/SHA384/reset/73 1369s ok 1372 /checksum/SHA384/reset/74 1369s ok 1373 /checksum/SHA384/reset/75 1369s ok 1374 /checksum/SHA384/reset/76 1369s ok 1375 /checksum/SHA384/reset/77 1369s ok 1376 /checksum/SHA384/reset/78 1369s ok 1377 /checksum/SHA384/reset/79 1369s ok 1378 /checksum/SHA384/reset/80 1369s ok 1379 /checksum/SHA384/reset/81 1369s ok 1380 /checksum/SHA384/reset/82 1369s ok 1381 /checksum/SHA384/reset/83 1369s ok 1382 /checksum/SHA384/reset/84 1369s ok 1383 /checksum/SHA384/reset/85 1369s ok 1384 /checksum/SHA384/reset/86 1369s ok 1385 /checksum/SHA384/reset/87 1369s ok 1386 /checksum/SHA384/reset/88 1369s ok 1387 /checksum/SHA384/reset/89 1369s ok 1388 /checksum/SHA384/reset/90 1369s ok 1389 /checksum/SHA384/reset/91 1369s ok 1390 /checksum/SHA384/reset/92 1369s ok 1391 /checksum/SHA384/reset/93 1369s ok 1392 /checksum/SHA384/reset/94 1369s ok 1393 /checksum/SHA384/reset/95 1369s ok 1394 /checksum/SHA384/reset/96 1369s ok 1395 /checksum/SHA384/reset/97 1369s ok 1396 /checksum/SHA384/reset/98 1369s ok 1397 /checksum/SHA384/reset/99 1369s ok 1398 /checksum/SHA384/reset/100 1369s ok 1399 /checksum/SHA384/reset/101 1369s ok 1400 /checksum/SHA384/reset/102 1369s ok 1401 /checksum/SHA384/reset/103 1369s ok 1402 /checksum/SHA384/reset/104 1369s ok 1403 /checksum/SHA384/reset/105 1369s ok 1404 /checksum/SHA384/reset/106 1369s ok 1405 /checksum/SHA384/reset/107 1369s ok 1406 /checksum/SHA384/reset/108 1369s ok 1407 /checksum/SHA384/reset/109 1369s ok 1408 /checksum/SHA384/reset/110 1369s ok 1409 /checksum/SHA384/reset/111 1369s ok 1410 /checksum/SHA384/reset/112 1369s ok 1411 /checksum/SHA384/reset/113 1369s ok 1412 /checksum/SHA384/reset/114 1369s ok 1413 /checksum/SHA384/reset/115 1369s ok 1414 /checksum/SHA384/reset/116 1369s ok 1415 /checksum/SHA384/reset/117 1369s ok 1416 /checksum/SHA384/reset/118 1369s ok 1417 /checksum/SHA384/reset/119 1369s ok 1418 /checksum/SHA384/reset/120 1369s ok 1419 /checksum/SHA384/reset/121 1369s ok 1420 /checksum/SHA384/reset/122 1369s ok 1421 /checksum/SHA384/reset/123 1369s ok 1422 /checksum/SHA384/reset/124 1369s ok 1423 /checksum/SHA384/reset/125 1369s ok 1424 /checksum/SHA384/reset/126 1369s ok 1425 /checksum/SHA384/reset/127 1369s ok 1426 /checksum/SHA384/reset/128 1369s ok 1427 /checksum/SHA384/reset/129 1369s ok 1428 /checksum/SHA384/reset/130 1369s ok 1429 /checksum/SHA384/reset/131 1369s ok 1430 /checksum/SHA384/reset/132 1369s ok 1431 /checksum/SHA384/reset/133 1369s ok 1432 /checksum/SHA384/reset/134 1369s ok 1433 /checksum/SHA384/reset/135 1369s ok 1434 /checksum/SHA384/reset/136 1369s ok 1435 /checksum/SHA384/reset/137 1369s ok 1436 /checksum/SHA384/reset/138 1369s ok 1437 /checksum/SHA384/reset/139 1369s ok 1438 /checksum/SHA384/reset/140 1369s ok 1439 /checksum/SHA384/reset/141 1369s ok 1440 /checksum/SHA384/reset/142 1369s ok 1441 /checksum/SHA384/reset/143 1369s ok 1442 /checksum/SHA384/reset/144 1369s ok 1443 /checksum/SHA384/reset/145 1369s ok 1444 /checksum/SHA384/reset/146 1369s ok 1445 /checksum/SHA384/reset/147 1369s ok 1446 /checksum/SHA384/reset/148 1369s ok 1447 /checksum/SHA384/reset/149 1369s ok 1448 /checksum/SHA384/reset/150 1369s ok 1449 /checksum/SHA384/reset/151 1369s ok 1450 /checksum/SHA384/reset/152 1369s ok 1451 /checksum/SHA384/reset/153 1369s ok 1452 /checksum/SHA384/reset/154 1369s ok 1453 /checksum/SHA384/reset/155 1369s ok 1454 /checksum/SHA384/reset/156 1369s ok 1455 /checksum/SHA384/reset/157 1369s ok 1456 /checksum/SHA384/reset/158 1369s ok 1457 /checksum/SHA384/reset/159 1369s ok 1458 /checksum/SHA384/reset/160 1369s ok 1459 /checksum/SHA384/reset/161 1369s ok 1460 /checksum/SHA384/reset/162 1369s ok 1461 /checksum/SHA384/reset/163 1369s ok 1462 /checksum/SHA384/reset/164 1369s ok 1463 /checksum/SHA384/reset/165 1369s ok 1464 /checksum/SHA384/reset/166 1369s ok 1465 /checksum/SHA384/reset/167 1369s ok 1466 /checksum/SHA384/reset/168 1369s ok 1467 /checksum/SHA384/reset/169 1369s ok 1468 /checksum/SHA384/reset/170 1369s ok 1469 /checksum/SHA384/reset/171 1369s ok 1470 /checksum/SHA384/reset/172 1369s ok 1471 /checksum/SHA384/reset/173 1369s ok 1472 /checksum/SHA384/reset/174 1369s ok 1473 /checksum/SHA384/reset/175 1369s ok 1474 /checksum/SHA384/reset/176 1369s ok 1475 /checksum/SHA384/reset/177 1369s ok 1476 /checksum/SHA384/reset/178 1369s ok 1477 /checksum/SHA384/reset/179 1369s ok 1478 /checksum/SHA384/reset/180 1369s ok 1479 /checksum/SHA384/reset/181 1369s ok 1480 /checksum/SHA384/reset/182 1369s ok 1481 /checksum/SHA384/reset/183 1369s # End of reset tests 1369s # End of SHA384 tests 1369s # Start of SHA512 tests 1369s ok 1482 /checksum/SHA512/0 1369s ok 1483 /checksum/SHA512/1 1369s ok 1484 /checksum/SHA512/2 1369s ok 1485 /checksum/SHA512/3 1369s ok 1486 /checksum/SHA512/4 1369s ok 1487 /checksum/SHA512/5 1369s ok 1488 /checksum/SHA512/6 1369s ok 1489 /checksum/SHA512/7 1369s ok 1490 /checksum/SHA512/8 1369s ok 1491 /checksum/SHA512/9 1369s ok 1492 /checksum/SHA512/10 1369s ok 1493 /checksum/SHA512/11 1369s ok 1494 /checksum/SHA512/12 1369s ok 1495 /checksum/SHA512/13 1369s ok 1496 /checksum/SHA512/14 1369s ok 1497 /checksum/SHA512/15 1369s ok 1498 /checksum/SHA512/16 1369s ok 1499 /checksum/SHA512/17 1369s ok 1500 /checksum/SHA512/18 1369s ok 1501 /checksum/SHA512/19 1369s ok 1502 /checksum/SHA512/20 1369s ok 1503 /checksum/SHA512/21 1369s ok 1504 /checksum/SHA512/22 1369s ok 1505 /checksum/SHA512/23 1369s ok 1506 /checksum/SHA512/24 1369s ok 1507 /checksum/SHA512/25 1369s ok 1508 /checksum/SHA512/26 1369s ok 1509 /checksum/SHA512/27 1369s ok 1510 /checksum/SHA512/28 1369s ok 1511 /checksum/SHA512/29 1369s ok 1512 /checksum/SHA512/30 1369s ok 1513 /checksum/SHA512/31 1369s ok 1514 /checksum/SHA512/32 1369s ok 1515 /checksum/SHA512/33 1369s ok 1516 /checksum/SHA512/34 1369s ok 1517 /checksum/SHA512/35 1369s ok 1518 /checksum/SHA512/36 1369s ok 1519 /checksum/SHA512/37 1369s ok 1520 /checksum/SHA512/38 1369s ok 1521 /checksum/SHA512/39 1369s ok 1522 /checksum/SHA512/40 1369s ok 1523 /checksum/SHA512/41 1369s ok 1524 /checksum/SHA512/42 1369s ok 1525 /checksum/SHA512/43 1369s ok 1526 /checksum/SHA512/44 1369s ok 1527 /checksum/SHA512/45 1369s ok 1528 /checksum/SHA512/46 1369s ok 1529 /checksum/SHA512/47 1369s ok 1530 /checksum/SHA512/48 1369s ok 1531 /checksum/SHA512/49 1369s ok 1532 /checksum/SHA512/50 1369s ok 1533 /checksum/SHA512/51 1369s ok 1534 /checksum/SHA512/52 1369s ok 1535 /checksum/SHA512/53 1369s ok 1536 /checksum/SHA512/54 1369s ok 1537 /checksum/SHA512/55 1369s ok 1538 /checksum/SHA512/56 1369s ok 1539 /checksum/SHA512/57 1369s ok 1540 /checksum/SHA512/58 1369s ok 1541 /checksum/SHA512/59 1369s ok 1542 /checksum/SHA512/60 1369s ok 1543 /checksum/SHA512/61 1369s ok 1544 /checksum/SHA512/62 1369s ok 1545 /checksum/SHA512/63 1369s ok 1546 /checksum/SHA512/64 1369s ok 1547 /checksum/SHA512/65 1369s ok 1548 /checksum/SHA512/66 1369s ok 1549 /checksum/SHA512/67 1369s ok 1550 /checksum/SHA512/68 1369s ok 1551 /checksum/SHA512/69 1369s ok 1552 /checksum/SHA512/70 1369s ok 1553 /checksum/SHA512/71 1369s ok 1554 /checksum/SHA512/72 1369s ok 1555 /checksum/SHA512/73 1369s ok 1556 /checksum/SHA512/74 1369s ok 1557 /checksum/SHA512/75 1369s ok 1558 /checksum/SHA512/76 1369s ok 1559 /checksum/SHA512/77 1369s ok 1560 /checksum/SHA512/78 1369s ok 1561 /checksum/SHA512/79 1369s ok 1562 /checksum/SHA512/80 1369s ok 1563 /checksum/SHA512/81 1369s ok 1564 /checksum/SHA512/82 1369s ok 1565 /checksum/SHA512/83 1369s ok 1566 /checksum/SHA512/84 1369s ok 1567 /checksum/SHA512/85 1369s ok 1568 /checksum/SHA512/86 1369s ok 1569 /checksum/SHA512/87 1369s ok 1570 /checksum/SHA512/88 1369s ok 1571 /checksum/SHA512/89 1369s ok 1572 /checksum/SHA512/90 1369s ok 1573 /checksum/SHA512/91 1369s ok 1574 /checksum/SHA512/92 1369s ok 1575 /checksum/SHA512/93 1369s ok 1576 /checksum/SHA512/94 1369s ok 1577 /checksum/SHA512/95 1369s ok 1578 /checksum/SHA512/96 1369s ok 1579 /checksum/SHA512/97 1369s ok 1580 /checksum/SHA512/98 1369s ok 1581 /checksum/SHA512/99 1369s ok 1582 /checksum/SHA512/100 1369s ok 1583 /checksum/SHA512/101 1369s ok 1584 /checksum/SHA512/102 1369s ok 1585 /checksum/SHA512/103 1369s ok 1586 /checksum/SHA512/104 1369s ok 1587 /checksum/SHA512/105 1369s ok 1588 /checksum/SHA512/106 1369s ok 1589 /checksum/SHA512/107 1369s ok 1590 /checksum/SHA512/108 1369s ok 1591 /checksum/SHA512/109 1369s ok 1592 /checksum/SHA512/110 1369s ok 1593 /checksum/SHA512/111 1369s ok 1594 /checksum/SHA512/112 1369s ok 1595 /checksum/SHA512/113 1369s ok 1596 /checksum/SHA512/114 1369s ok 1597 /checksum/SHA512/115 1369s ok 1598 /checksum/SHA512/116 1369s ok 1599 /checksum/SHA512/117 1369s ok 1600 /checksum/SHA512/118 1369s ok 1601 /checksum/SHA512/119 1369s ok 1602 /checksum/SHA512/120 1369s ok 1603 /checksum/SHA512/121 1369s ok 1604 /checksum/SHA512/122 1369s ok 1605 /checksum/SHA512/123 1369s ok 1606 /checksum/SHA512/124 1369s ok 1607 /checksum/SHA512/125 1369s ok 1608 /checksum/SHA512/126 1369s ok 1609 /checksum/SHA512/127 1369s ok 1610 /checksum/SHA512/128 1369s ok 1611 /checksum/SHA512/129 1369s ok 1612 /checksum/SHA512/130 1369s ok 1613 /checksum/SHA512/131 1369s ok 1614 /checksum/SHA512/132 1369s ok 1615 /checksum/SHA512/133 1369s ok 1616 /checksum/SHA512/134 1369s ok 1617 /checksum/SHA512/135 1369s ok 1618 /checksum/SHA512/136 1369s ok 1619 /checksum/SHA512/137 1369s ok 1620 /checksum/SHA512/138 1369s ok 1621 /checksum/SHA512/139 1369s ok 1622 /checksum/SHA512/140 1369s ok 1623 /checksum/SHA512/141 1369s ok 1624 /checksum/SHA512/142 1369s ok 1625 /checksum/SHA512/143 1369s ok 1626 /checksum/SHA512/144 1369s ok 1627 /checksum/SHA512/145 1369s ok 1628 /checksum/SHA512/146 1369s ok 1629 /checksum/SHA512/147 1369s ok 1630 /checksum/SHA512/148 1369s ok 1631 /checksum/SHA512/149 1369s ok 1632 /checksum/SHA512/150 1369s ok 1633 /checksum/SHA512/151 1369s ok 1634 /checksum/SHA512/152 1369s ok 1635 /checksum/SHA512/153 1369s ok 1636 /checksum/SHA512/154 1369s ok 1637 /checksum/SHA512/155 1369s ok 1638 /checksum/SHA512/156 1369s ok 1639 /checksum/SHA512/157 1369s ok 1640 /checksum/SHA512/158 1369s ok 1641 /checksum/SHA512/159 1369s ok 1642 /checksum/SHA512/160 1369s ok 1643 /checksum/SHA512/161 1369s ok 1644 /checksum/SHA512/162 1369s ok 1645 /checksum/SHA512/163 1369s ok 1646 /checksum/SHA512/164 1369s ok 1647 /checksum/SHA512/165 1369s ok 1648 /checksum/SHA512/166 1369s ok 1649 /checksum/SHA512/167 1369s ok 1650 /checksum/SHA512/168 1369s ok 1651 /checksum/SHA512/169 1369s ok 1652 /checksum/SHA512/170 1369s ok 1653 /checksum/SHA512/171 1369s ok 1654 /checksum/SHA512/172 1369s ok 1655 /checksum/SHA512/173 1369s ok 1656 /checksum/SHA512/174 1369s ok 1657 /checksum/SHA512/175 1369s ok 1658 /checksum/SHA512/176 1369s ok 1659 /checksum/SHA512/177 1369s ok 1660 /checksum/SHA512/178 1369s ok 1661 /checksum/SHA512/179 1369s ok 1662 /checksum/SHA512/180 1369s ok 1663 /checksum/SHA512/181 1369s ok 1664 /checksum/SHA512/182 1369s ok 1665 /checksum/SHA512/183 1369s ok 1666 /checksum/SHA512/string 1369s ok 1667 /checksum/SHA512/bytes 1369s # Start of reset tests 1369s ok 1668 /checksum/SHA512/reset/0 1369s ok 1669 /checksum/SHA512/reset/1 1369s ok 1670 /checksum/SHA512/reset/2 1369s ok 1671 /checksum/SHA512/reset/3 1369s ok 1672 /checksum/SHA512/reset/4 1369s ok 1673 /checksum/SHA512/reset/5 1369s ok 1674 /checksum/SHA512/reset/6 1369s ok 1675 /checksum/SHA512/reset/7 1369s ok 1676 /checksum/SHA512/reset/8 1369s ok 1677 /checksum/SHA512/reset/9 1369s ok 1678 /checksum/SHA512/reset/10 1369s ok 1679 /checksum/SHA512/reset/11 1369s ok 1680 /checksum/SHA512/reset/12 1369s ok 1681 /checksum/SHA512/reset/13 1369s ok 1682 /checksum/SHA512/reset/14 1369s ok 1683 /checksum/SHA512/reset/15 1369s ok 1684 /checksum/SHA512/reset/16 1369s ok 1685 /checksum/SHA512/reset/17 1369s ok 1686 /checksum/SHA512/reset/18 1369s ok 1687 /checksum/SHA512/reset/19 1369s ok 1688 /checksum/SHA512/reset/20 1369s ok 1689 /checksum/SHA512/reset/21 1369s ok 1690 /checksum/SHA512/reset/22 1369s ok 1691 /checksum/SHA512/reset/23 1369s ok 1692 /checksum/SHA512/reset/24 1369s ok 1693 /checksum/SHA512/reset/25 1369s ok 1694 /checksum/SHA512/reset/26 1369s ok 1695 /checksum/SHA512/reset/27 1369s ok 1696 /checksum/SHA512/reset/28 1369s ok 1697 /checksum/SHA512/reset/29 1369s ok 1698 /checksum/SHA512/reset/30 1369s ok 1699 /checksum/SHA512/reset/31 1369s ok 1700 /checksum/SHA512/reset/32 1369s ok 1701 /checksum/SHA512/reset/33 1369s ok 1702 /checksum/SHA512/reset/34 1369s ok 1703 /checksum/SHA512/reset/35 1369s ok 1704 /checksum/SHA512/reset/36 1369s ok 1705 /checksum/SHA512/reset/37 1369s ok 1706 /checksum/SHA512/reset/38 1369s ok 1707 /checksum/SHA512/reset/39 1369s ok 1708 /checksum/SHA512/reset/40 1369s ok 1709 /checksum/SHA512/reset/41 1369s ok 1710 /checksum/SHA512/reset/42 1369s ok 1711 /checksum/SHA512/reset/43 1369s ok 1712 /checksum/SHA512/reset/44 1369s ok 1713 /checksum/SHA512/reset/45 1369s ok 1714 /checksum/SHA512/reset/46 1369s ok 1715 /checksum/SHA512/reset/47 1369s ok 1716 /checksum/SHA512/reset/48 1369s ok 1717 /checksum/SHA512/reset/49 1369s ok 1718 /checksum/SHA512/reset/50 1369s ok 1719 /checksum/SHA512/reset/51 1369s ok 1720 /checksum/SHA512/reset/52 1369s ok 1721 /checksum/SHA512/reset/53 1369s ok 1722 /checksum/SHA512/reset/54 1369s ok 1723 /checksum/SHA512/reset/55 1369s ok 1724 /checksum/SHA512/reset/56 1369s ok 1725 /checksum/SHA512/reset/57 1369s ok 1726 /checksum/SHA512/reset/58 1369s ok 1727 /checksum/SHA512/reset/59 1369s ok 1728 /checksum/SHA512/reset/60 1369s ok 1729 /checksum/SHA512/reset/61 1369s ok 1730 /checksum/SHA512/reset/62 1369s ok 1731 /checksum/SHA512/reset/63 1369s ok 1732 /checksum/SHA512/reset/64 1369s ok 1733 /checksum/SHA512/reset/65 1369s ok 1734 /checksum/SHA512/reset/66 1369s ok 1735 /checksum/SHA512/reset/67 1369s ok 1736 /checksum/SHA512/reset/68 1369s ok 1737 /checksum/SHA512/reset/69 1369s ok 1738 /checksum/SHA512/reset/70 1369s ok 1739 /checksum/SHA512/reset/71 1369s ok 1740 /checksum/SHA512/reset/72 1369s ok 1741 /checksum/SHA512/reset/73 1369s ok 1742 /checksum/SHA512/reset/74 1369s ok 1743 /checksum/SHA512/reset/75 1369s ok 1744 /checksum/SHA512/reset/76 1369s ok 1745 /checksum/SHA512/reset/77 1369s ok 1746 /checksum/SHA512/reset/78 1369s ok 1747 /checksum/SHA512/reset/79 1369s ok 1748 /checksum/SHA512/reset/80 1369s ok 1749 /checksum/SHA512/reset/81 1369s ok 1750 /checksum/SHA512/reset/82 1369s ok 1751 /checksum/SHA512/reset/83 1369s ok 1752 /checksum/SHA512/reset/84 1369s ok 1753 /checksum/SHA512/reset/85 1369s ok 1754 /checksum/SHA512/reset/86 1369s ok 1755 /checksum/SHA512/reset/87 1369s ok 1756 /checksum/SHA512/reset/88 1369s ok 1757 /checksum/SHA512/reset/89 1369s ok 1758 /checksum/SHA512/reset/90 1369s ok 1759 /checksum/SHA512/reset/91 1369s ok 1760 /checksum/SHA512/reset/92 1369s ok 1761 /checksum/SHA512/reset/93 1369s ok 1762 /checksum/SHA512/reset/94 1369s ok 1763 /checksum/SHA512/reset/95 1369s ok 1764 /checksum/SHA512/reset/96 1369s ok 1765 /checksum/SHA512/reset/97 1369s ok 1766 /checksum/SHA512/reset/98 1369s ok 1767 /checksum/SHA512/reset/99 1369s ok 1768 /checksum/SHA512/reset/100 1369s ok 1769 /checksum/SHA512/reset/101 1369s ok 1770 /checksum/SHA512/reset/102 1369s ok 1771 /checksum/SHA512/reset/103 1369s ok 1772 /checksum/SHA512/reset/104 1369s ok 1773 /checksum/SHA512/reset/105 1369s ok 1774 /checksum/SHA512/reset/106 1369s ok 1775 /checksum/SHA512/reset/107 1369s ok 1776 /checksum/SHA512/reset/108 1369s ok 1777 /checksum/SHA512/reset/109 1369s ok 1778 /checksum/SHA512/reset/110 1369s ok 1779 /checksum/SHA512/reset/111 1369s ok 1780 /checksum/SHA512/reset/112 1369s ok 1781 /checksum/SHA512/reset/113 1369s ok 1782 /checksum/SHA512/reset/114 1369s ok 1783 /checksum/SHA512/reset/115 1369s ok 1784 /checksum/SHA512/reset/116 1369s ok 1785 /checksum/SHA512/reset/117 1369s ok 1786 /checksum/SHA512/reset/118 1369s ok 1787 /checksum/SHA512/reset/119 1369s ok 1788 /checksum/SHA512/reset/120 1369s ok 1789 /checksum/SHA512/reset/121 1369s ok 1790 /checksum/SHA512/reset/122 1369s ok 1791 /checksum/SHA512/reset/123 1369s ok 1792 /checksum/SHA512/reset/124 1369s ok 1793 /checksum/SHA512/reset/125 1369s ok 1794 /checksum/SHA512/reset/126 1369s ok 1795 /checksum/SHA512/reset/127 1369s ok 1796 /checksum/SHA512/reset/128 1369s ok 1797 /checksum/SHA512/reset/129 1369s ok 1798 /checksum/SHA512/reset/130 1369s ok 1799 /checksum/SHA512/reset/131 1369s ok 1800 /checksum/SHA512/reset/132 1369s ok 1801 /checksum/SHA512/reset/133 1369s ok 1802 /checksum/SHA512/reset/134 1369s ok 1803 /checksum/SHA512/reset/135 1369s ok 1804 /checksum/SHA512/reset/136 1369s ok 1805 /checksum/SHA512/reset/137 1369s ok 1806 /checksum/SHA512/reset/138 1369s ok 1807 /checksum/SHA512/reset/139 1369s ok 1808 /checksum/SHA512/reset/140 1369s ok 1809 /checksum/SHA512/reset/141 1369s ok 1810 /checksum/SHA512/reset/142 1369s ok 1811 /checksum/SHA512/reset/143 1369s ok 1812 /checksum/SHA512/reset/144 1369s ok 1813 /checksum/SHA512/reset/145 1369s ok 1814 /checksum/SHA512/reset/146 1369s ok 1815 /checksum/SHA512/reset/147 1369s ok 1816 /checksum/SHA512/reset/148 1369s ok 1817 /checksum/SHA512/reset/149 1369s ok 1818 /checksum/SHA512/reset/150 1369s ok 1819 /checksum/SHA512/reset/151 1369s ok 1820 /checksum/SHA512/reset/152 1369s ok 1821 /checksum/SHA512/reset/153 1369s ok 1822 /checksum/SHA512/reset/154 1369s ok 1823 /checksum/SHA512/reset/155 1369s ok 1824 /checksum/SHA512/reset/156 1369s ok 1825 /checksum/SHA512/reset/157 1369s ok 1826 /checksum/SHA512/reset/158 1369s ok 1827 /checksum/SHA512/reset/159 1369s ok 1828 /checksum/SHA512/reset/160 1369s ok 1829 /checksum/SHA512/reset/161 1369s ok 1830 /checksum/SHA512/reset/162 1369s ok 1831 /checksum/SHA512/reset/163 1369s ok 1832 /checksum/SHA512/reset/164 1369s ok 1833 /checksum/SHA512/reset/165 1369s ok 1834 /checksum/SHA512/reset/166 1369s ok 1835 /checksum/SHA512/reset/167 1369s ok 1836 /checksum/SHA512/reset/168 1369s ok 1837 /checksum/SHA512/reset/169 1369s ok 1838 /checksum/SHA512/reset/170 1369s ok 1839 /checksum/SHA512/reset/171 1369s ok 1840 /checksum/SHA512/reset/172 1369s ok 1841 /checksum/SHA512/reset/173 1369s ok 1842 /checksum/SHA512/reset/174 1369s ok 1843 /checksum/SHA512/reset/175 1369s ok 1844 /checksum/SHA512/reset/176 1369s ok 1845 /checksum/SHA512/reset/177 1369s ok 1846 /checksum/SHA512/reset/178 1369s ok 1847 /checksum/SHA512/reset/179 1369s ok 1848 /checksum/SHA512/reset/180 1369s ok 1849 /checksum/SHA512/reset/181 1369s ok 1850 /checksum/SHA512/reset/182 1369s ok 1851 /checksum/SHA512/reset/183 1369s # End of reset tests 1369s # End of SHA512 tests 1369s # End of checksum tests 1369s ok - glib/checksum.test 1369s # Running test: glib/objects-refcount1.test 1369s TAP version 14 1369s # random seed: R02S79cd0d05fb1734d8cb528b75441485eb 1369s 1..1 1369s # Start of gobject tests 1369s # Start of refcount tests 1369s # init 0xbf3138a68750 1369s # 1369s # init 0xbf3138a688e0 1369s # 1373s # Executing: glib/objects-refcount1.test 1374s # dispose 0xbf3138a68750! 1374s # 1374s # dispose 0xbf3138a688e0! 1374s # 1374s ok 1 /gobject/refcount/object-basics 1374s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1374s # End of refcount tests 1374s # End of gobject tests 1374s ok - glib/objects-refcount1.test 1374s # Running test: glib/properties-refcount1.test 1374s TAP version 14 1374s # random seed: R02S3f24ef76dad37c45997d7e8c08be9fbc 1374s 1..1 1374s # Start of gobject tests 1374s # Start of refcount tests 1374s # .b 1374s # .f 1374s # .e 1374s # .d 1374s # .c 1374s # .b 1374s # .f 1374s # .e 1374s # .c 1374s # .d 1374s # .f 1374s # .b 1374s # .e 1374s # .c 1375s # .d 1375s # .e 1375s # .c 1375s # .f 1375s # .b 1375s # .c 1375s # .d 1375s # .b 1375s # .e 1375s # .f 1375s # .d 1375s # .c 1375s # .b 1375s # .e 1375s # .f 1375s # .d 1375s # .c 1375s # .e 1375s # .b 1375s # .f 1375s # .d 1375s # .f 1375s # .b 1375s # .c 1375s # .e 1375s # .d 1375s # .f 1375s # .d 1375s # .c 1375s # .b 1375s # .e 1375s # .f 1375s # .c 1375s # .e 1375s # .d 1375s # .b 1375s # .f 1375s # .c 1375s # .f 1375s # .e 1375s # .d 1375s # .f 1375s # .b 1375s # .f 1375s # .c 1375s # .e 1375s # .d 1375s # .b 1375s # .f 1375s # .e 1375s # .d 1375s # .c 1375s # .b 1375s # .e 1375s # .d 1375s # .f 1375s # .c 1375s # .e 1375s # .d 1375s # .b 1375s # .f 1375s # .c 1375s # .e 1375s # .d 1375s # .b 1375s # .e 1375s # .d 1375s # .f 1375s # .c 1375s # .e 1375s # .b 1375s # .f 1375s # .d 1375s # .c 1375s # .f 1375s # .d 1375s # .e 1375s # .c 1375s # .b 1375s # .d 1375s # .e 1375s # .f 1375s # .c 1375s # .b 1376s # .d 1376s # .b 1376s # .e 1376s # .c 1376s # .f 1376s # .b 1376s # .d 1376s # .c 1376s # .e 1376s # .f 1376s # .e 1376s # .f 1376s # .b 1376s # .c 1376s # .d 1376s # .e 1376s # .b 1376s # .f 1376s # .c 1376s # .d 1376s # .f 1376s # .b 1376s # .e 1376s # .c 1376s # .d 1376s # .f 1376s # .b 1376s # .c 1376s # .e 1376s # .f 1376s # .d 1376s # .c 1376s # .f 1376s # .b 1376s # .e 1376s # .d 1376s # .c 1376s # .f 1376s # .b 1376s # .d 1376s # .c 1376s # .e 1376s # .f 1376s # .d 1376s # .b 1376s # .e 1376s # .c 1376s # .f 1376s # .b 1376s # .d 1376s # .c 1376s # .e 1376s # .b 1376s # .f 1376s # .c 1376s # .e 1376s # .d 1376s # .b 1376s # .f 1376s # .d 1376s # .c 1376s # .e 1376s # .f 1376s # .b 1376s # .c 1376s # .d 1376s # .b 1376s # .e 1376s # .f 1376s # .d 1376s # .c 1376s # .e 1376s # .b 1376s # .d 1376s # .f 1376s # .c 1376s # .e 1376s # .b 1376s # .f 1376s # .d 1377s # .c 1377s # .e 1377s # .d 1377s # .f 1377s # .b 1377s # .e 1377s # .c 1377s # .d 1377s # .b 1377s # .e 1377s # .f 1377s # .b 1377s # .c 1377s # .d 1377s # .f 1377s # .e 1377s # .c 1377s # .b 1377s # .d 1377s # .f 1377s # .c 1377s # .e 1377s # .b 1377s # .d 1377s # .e 1377s # .f 1377s # .b 1377s # .c 1377s # .d 1377s # .e 1377s # .c 1377s # .b 1377s # .f 1377s # .d 1377s # .f 1377s # .e 1377s # .d 1377s # .c 1377s # .b 1377s # .f 1377s # .d 1377s # .e 1377s # .b 1377s # .f 1377s # .c 1377s # .d 1377s # .f 1377s # .d 1377s # .e 1377s # .b 1377s # .c 1377s # .f 1377s # .d 1377s # .e 1377s # .b 1377s # .c 1377s # .f 1377s # .e 1377s # .d 1377s # .c 1377s # .b 1377s # .f 1377s # .e 1377s # .c 1377s # .d 1377s ok 1 /gobject/refcount/properties-1 1377s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1377s # End of refcount tests 1377s # End of gobject tests 1377s ok - glib/properties-refcount1.test 1377s # Running test: glib/task.test 1377s TAP version 14 1377s # random seed: R02Sf7cccb6e710c1b70e7fe702f09a90665 1377s 1..36 1377s # Start of gtask tests 1377s ok 1 /gtask/basic 1377s ok 2 /gtask/error 1377s ok 3 /gtask/error-literal 1377s ok 4 /gtask/error-literal-from-variable 1377s ok 5 /gtask/return-from-same-iteration 1377s ok 6 /gtask/return-from-toplevel 1377s ok 7 /gtask/return-from-anon-thread 1377s ok 8 /gtask/return-from-wrong-thread 1377s ok 9 /gtask/no-callback 1377s ok 10 /gtask/report-error 1377s ok 11 /gtask/priority 1377s ok 12 /gtask/name 1377s ok 13 /gtask/static-name 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1378s ok 14 /gtask/asynchronous-cancellation 1378s ok 15 /gtask/check-cancellable 1378s ok 16 /gtask/return-if-cancelled 1378s ok 17 /gtask/run-in-thread 1378s ok 18 /gtask/run-in-thread-sync 1378s ok 19 /gtask/run-in-thread-priority 1378s ok 20 /gtask/run-in-thread-nested 1378s # Executing: glib/task.test 1378s ok 21 /gtask/run-in-thread-overflow 1378s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1378s # GLib-GIO-DEBUG: GTask 0xc2d9a8e411f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1378s # GLib-GIO-DEBUG: GTask 0xc2d9a8eacdc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1378s ok 22 /gtask/return-on-cancel 1378s # GLib-GIO-DEBUG: GTask 0xc2d9a8eafe00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1378s # GLib-GIO-DEBUG: GTask 0xc2d9a8e41800 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1378s ok 23 /gtask/return-on-cancel-sync 1378s ok 24 /gtask/return-on-cancel-atomic 1378s ok 25 /gtask/return-pointer 1378s ok 26 /gtask/return-value 1378s ok 27 /gtask/return-prefixed-error 1378s ok 28 /gtask/object-keepalive 1378s ok 29 /gtask/legacy-error 1378s ok 30 /gtask/finalize-without-return 1378s # Start of name tests 1378s ok 31 /gtask/name/macro-wrapper 1378s # End of name tests 1378s # Start of return tests 1378s ok 32 /gtask/return/error-first 1378s ok 33 /gtask/return/value-first 1378s # Start of in-idle tests 1378s ok 34 /gtask/return/in-idle/error-first 1378s ok 35 /gtask/return/in-idle/value-first 1378s # End of in-idle tests 1378s # End of return tests 1378s # Start of attach-source tests 1378s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1378s ok 36 /gtask/attach-source/set-name 1378s # End of attach-source tests 1378s # End of gtask tests 1378s ok - glib/task.test 1378s # Running test: glib/array-test.test 1378s TAP version 14 1378s # random seed: R02S2b5c4a9cd1230953f32e84d5135ae9ee 1378s 1..113 1378s # Start of array tests 1378s ok 1 /array/ref-count 1378s ok 2 /array/steal 1378s ok 3 /array/clear-func 1378s ok 4 /array/binary-search 1378s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1378s ok 5 /array/copy-sized 1378s ok 6 /array/overflow-append-vals 1378s ok 7 /array/overflow-set-size 1378s # Start of new tests 1378s ok 8 /array/new/zero-terminated 1378s ok 9 /array/new/take 1378s ok 10 /array/new/take-zero-terminated 1378s # Start of take tests 1378s ok 11 /array/new/take/empty 1378s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1378s # End of take tests 1378s # End of new tests 1378s # Start of set-size tests 1378s ok 13 /array/set-size/non-zero-terminated-no-clear 1378s ok 14 /array/set-size/non-zero-terminated-clear 1378s ok 15 /array/set-size/zero-terminated-no-clear 1378s ok 16 /array/set-size/zero-terminated-clear 1378s # Start of sized tests 1378s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1378s ok 18 /array/set-size/sized/non-zero-terminated-clear 1378s ok 19 /array/set-size/sized/zero-terminated-no-clear 1378s ok 20 /array/set-size/sized/zero-terminated-clear 1378s # End of sized tests 1378s # End of set-size tests 1378s # Start of append-val tests 1378s ok 21 /array/append-val/non-zero-terminated-no-clear 1378s ok 22 /array/append-val/non-zero-terminated-clear 1378s ok 23 /array/append-val/zero-terminated-no-clear 1378s ok 24 /array/append-val/zero-terminated-clear 1378s # End of append-val tests 1378s # Start of prepend-val tests 1378s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1378s ok 26 /array/prepend-val/non-zero-terminated-clear 1378s ok 27 /array/prepend-val/zero-terminated-no-clear 1378s ok 28 /array/prepend-val/zero-terminated-clear 1378s # End of prepend-val tests 1378s # Start of prepend-vals tests 1378s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1378s ok 30 /array/prepend-vals/non-zero-terminated-clear 1378s ok 31 /array/prepend-vals/zero-terminated-no-clear 1378s ok 32 /array/prepend-vals/zero-terminated-clear 1378s # End of prepend-vals tests 1378s # Start of insert-vals tests 1378s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1378s ok 34 /array/insert-vals/non-zero-terminated-clear 1378s ok 35 /array/insert-vals/zero-terminated-no-clear 1378s ok 36 /array/insert-vals/zero-terminated-clear 1378s # End of insert-vals tests 1378s # Start of remove-index tests 1378s ok 37 /array/remove-index/non-zero-terminated-no-clear 1378s ok 38 /array/remove-index/non-zero-terminated-clear 1378s ok 39 /array/remove-index/zero-terminated-no-clear 1378s ok 40 /array/remove-index/zero-terminated-clear 1378s # End of remove-index tests 1378s # Start of remove-index-fast tests 1378s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1378s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1378s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1378s ok 44 /array/remove-index-fast/zero-terminated-clear 1378s # End of remove-index-fast tests 1378s # Start of remove-range tests 1378s ok 45 /array/remove-range/non-zero-terminated-no-clear 1378s ok 46 /array/remove-range/non-zero-terminated-clear 1378s ok 47 /array/remove-range/zero-terminated-no-clear 1378s ok 48 /array/remove-range/zero-terminated-clear 1378s # End of remove-range tests 1378s # Start of copy tests 1378s ok 49 /array/copy/non-zero-terminated-no-clear 1378s ok 50 /array/copy/non-zero-terminated-clear 1378s ok 51 /array/copy/zero-terminated-no-clear 1378s ok 52 /array/copy/zero-terminated-clear 1378s # End of copy tests 1378s # Start of sort tests 1378s ok 53 /array/sort/non-zero-terminated-no-clear 1378s ok 54 /array/sort/non-zero-terminated-clear 1378s ok 55 /array/sort/zero-terminated-no-clear 1378s ok 56 /array/sort/zero-terminated-clear 1378s # End of sort tests 1378s # Start of sort-with-data tests 1378s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1378s ok 58 /array/sort-with-data/non-zero-terminated-clear 1378s ok 59 /array/sort-with-data/zero-terminated-no-clear 1378s ok 60 /array/sort-with-data/zero-terminated-clear 1378s # End of sort-with-data tests 1378s # End of array tests 1378s # Start of pointerarray tests 1378s ok 61 /pointerarray/add 1378s ok 62 /pointerarray/insert 1378s ok 63 /pointerarray/new-take 1378s ok 64 /pointerarray/new-take-null-terminated 1378s ok 65 /pointerarray/new-from-array 1378s ok 66 /pointerarray/new-from-null-terminated-array 1378s ok 67 /pointerarray/free-func 1378s ok 68 /pointerarray/array_extend_and_steal 1378s ok 69 /pointerarray/sort 1378s ok 70 /pointerarray/sort-with-data 1378s ok 71 /pointerarray/sort-values 1378s ok 72 /pointerarray/sort-values-with-data 1378s ok 73 /pointerarray/remove-range 1378s ok 74 /pointerarray/steal 1378s # Start of free tests 1378s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1378s ok 75 /pointerarray/free/null-terminated 1378s # End of free tests 1378s # Start of new-take tests 1378s ok 76 /pointerarray/new-take/empty 1378s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1378s ok 78 /pointerarray/new-take/with-free-func 1378s # End of new-take tests 1378s # Start of new-take-null-terminated tests 1378s ok 79 /pointerarray/new-take-null-terminated/empty 1378s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1378s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1378s # End of new-take-null-terminated tests 1378s # Start of new-from-array tests 1378s ok 82 /pointerarray/new-from-array/empty 1378s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1378s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1378s # End of new-from-array tests 1378s # Start of new-from-null-terminated-array tests 1378s ok 85 /pointerarray/new-from-null-terminated-array/empty 1378s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1378s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1378s # End of new-from-null-terminated-array tests 1378s # Start of ref-count tests 1378s ok 88 /pointerarray/ref-count/not-null-terminated 1378s ok 89 /pointerarray/ref-count/null-terminated 1378s # End of ref-count tests 1378s # Start of array_copy tests 1378s # /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 1378s ok 90 /pointerarray/array_copy/not-null-terminated 1378s # /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 1378s ok 91 /pointerarray/array_copy/null-terminated 1378s # End of array_copy tests 1378s # Start of array_extend tests 1378s ok 92 /pointerarray/array_extend/not-null-terminated 1378s ok 93 /pointerarray/array_extend/null-terminated 1378s # End of array_extend tests 1378s # Start of sort tests 1378s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1378s ok 94 /pointerarray/sort/example 1378s # End of sort tests 1378s # Start of sort-with-data tests 1378s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1378s ok 95 /pointerarray/sort-with-data/example 1378s # End of sort-with-data tests 1378s # Start of sort-values tests 1378s ok 96 /pointerarray/sort-values/example 1378s # End of sort-values tests 1378s # Start of sort-values-with-data tests 1378s ok 97 /pointerarray/sort-values-with-data/example 1378s # End of sort-values-with-data tests 1378s # Start of find tests 1378s ok 98 /pointerarray/find/empty 1378s ok 99 /pointerarray/find/non-empty 1378s # End of find tests 1378s # Start of steal_index tests 1378s ok 100 /pointerarray/steal_index/not-null-terminated 1378s ok 101 /pointerarray/steal_index/null-terminated 1378s # End of steal_index tests 1378s # End of pointerarray tests 1378s # Start of bytearray tests 1378s ok 102 /bytearray/steal 1378s ok 103 /bytearray/append 1378s ok 104 /bytearray/prepend 1378s ok 105 /bytearray/remove 1378s ok 106 /bytearray/remove-fast 1378s ok 107 /bytearray/remove-range 1378s ok 108 /bytearray/ref-count 1378s ok 109 /bytearray/sort 1378s ok 110 /bytearray/sort-with-data 1378s ok 111 /bytearray/new-take 1378s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1378s ok 113 /bytearray/free-to-bytes 1378s # End of bytearray tests 1378s ok - glib/array-test.test 1378s # Running test: glib/atomic-c-17.test 1378s TAP version 14 1378s # random seed: R02S4d6197dac81ff1a0dc3aa86d2cb612fa 1378s 1..2 1378s # Start of atomic tests 1378s ok 1 /atomic/types 1378s ok 2 /atomic/threaded 1378s # End of atomic tests 1378s ok - glib/atomic-c-17.test 1378s # Running test: glib/gdbus-non-socket.test 1378s TAP version 14 1378s # random seed: R02S4e9ee996f83694c897d50434a5fa05cd 1378s 1..1 1378s # Start of gdbus tests 1378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/home 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/cache 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/system-config2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/config 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/system-data2 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/data 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/state 1378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_PLUC02/gdbus/non-socket/.dirs/runtime 1378s ok 1 /gdbus/non-socket 1378s # End of gdbus tests 1378s ok - glib/gdbus-non-socket.test 1378s # Running test: glib/gsubprocess.test 1378s TAP version 14 1378s # random seed: R02S313dd7c27c8309110a5ae547ab96cfba 1378s 1..83 1378s # Start of gsubprocess tests 1378s ok 1 /gsubprocess/noop 1378s ok 2 /gsubprocess/noop-all-to-null 1378s ok 3 /gsubprocess/noop-no-wait 1378s ok 4 /gsubprocess/noop-stdin-inherit 1378s ok 5 /gsubprocess/search-path 1378s ok 6 /gsubprocess/search-path-from-envp 1382s ok 7 /gsubprocess/signal 1382s # slow test /gsubprocess/signal executed in 3.37 secs 1382s ok 8 /gsubprocess/exit1 1382s ok 9 /gsubprocess/echo1 1382s ok 10 /gsubprocess/echo-merged 1382s ok 11 /gsubprocess/cat-utf8 1383s # Executing: glib/gsubprocess.test 1383s ok 12 /gsubprocess/cat-eof 1383s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1386s ok 13 /gsubprocess/multi1 1386s # slow test /gsubprocess/multi1 executed in 3.02 secs 1386s ok 14 /gsubprocess/communicate 1388s # Executing: glib/gsubprocess.test 1389s ok 15 /gsubprocess/terminate 1389s # slow test /gsubprocess/terminate executed in 2.96 secs 1389s ok 16 /gsubprocess/env 1389s ok 17 /gsubprocess/cwd 1389s ok 18 /gsubprocess/launcher-close 1389s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1389s ok 19 /gsubprocess/stdout-file 1389s ok 20 /gsubprocess/stdout-fd 1389s ok 21 /gsubprocess/child-setup 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s ok 22 /gsubprocess/launcher-environment 1389s # Start of exit1 tests 1389s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1389s ok 23 /gsubprocess/exit1/cancel 1389s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1389s ok 24 /gsubprocess/exit1/cancel_in_cb 1389s # End of exit1 tests 1389s # Start of communicate tests 1389s ok 25 /gsubprocess/communicate/cancelled 1389s ok 26 /gsubprocess/communicate/async 1389s ok 27 /gsubprocess/communicate/utf8 1389s # hello world 1389s ok 28 /gsubprocess/communicate/no-pipes 1389s ok 29 /gsubprocess/communicate/separate-stderr 1389s ok 30 /gsubprocess/communicate/stdout-only 1389s # hello world 1389s ok 31 /gsubprocess/communicate/stderr-only 1389s ok 32 /gsubprocess/communicate/stdout-silence 1389s ok 33 /gsubprocess/communicate/nothing 1389s # Start of async tests 1389s ok 34 /gsubprocess/communicate/async/cancelled 1389s # hello world 1389s ok 35 /gsubprocess/communicate/async/no-pipes 1389s ok 36 /gsubprocess/communicate/async/separate-stderr 1389s ok 37 /gsubprocess/communicate/async/stdout-only 1389s # hello world 1389s ok 38 /gsubprocess/communicate/async/stderr-only 1389s ok 39 /gsubprocess/communicate/async/stdout-silence 1389s # Start of cancelled tests 1389s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1389s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1389s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1389s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1389s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1389s # End of cancelled tests 1389s # End of async tests 1389s # Start of utf8 tests 1389s ok 45 /gsubprocess/communicate/utf8/cancelled 1389s ok 46 /gsubprocess/communicate/utf8/async 1389s # hello world 1389s ok 47 /gsubprocess/communicate/utf8/no-pipes 1389s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1389s ok 49 /gsubprocess/communicate/utf8/stdout-only 1389s # hello world 1389s ok 50 /gsubprocess/communicate/utf8/stderr-only 1389s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1389s ok 52 /gsubprocess/communicate/utf8/invalid 1389s # Start of async tests 1389s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1389s # hello world 1389s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1389s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1389s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1389s # hello world 1389s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1389s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1389s ok 59 /gsubprocess/communicate/utf8/async/invalid 1389s # Start of cancelled tests 1389s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1389s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1389s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1389s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1389s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1389s # End of cancelled tests 1389s # End of async tests 1389s # Start of cancelled tests 1389s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1389s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1389s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1389s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1389s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1389s # End of cancelled tests 1389s # End of utf8 tests 1389s # Start of cancelled tests 1389s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1389s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1389s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1389s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1389s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1389s # End of cancelled tests 1389s # End of communicate tests 1389s # Start of env tests 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s ok 75 /gsubprocess/env/inherit 1389s # End of env tests 1389s # Start of pass-fd tests 1389s ok 76 /gsubprocess/pass-fd/basic 1389s ok 77 /gsubprocess/pass-fd/empty-child-setup 1389s ok 78 /gsubprocess/pass-fd/inherit-fds 1389s # End of pass-fd tests 1389s # Start of fd-conflation tests 1389s ok 79 /gsubprocess/fd-conflation/basic 1389s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1389s ok 81 /gsubprocess/fd-conflation/inherit-fds 1389s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1389s # End of fd-conflation tests 1389s # Start of exit-status tests 1389s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1389s ok 83 /gsubprocess/exit-status/trapped 1389s # End of exit-status tests 1389s # End of gsubprocess tests 1389s ok - glib/gsubprocess.test 1389s # Running test: glib/notify-init2.test 1389s TAP version 14 1389s # random seed: R02S888cf3a022ce81633848e48ae7f54b4f 1389s 1..1 1389s # Start of properties tests 1389s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1389s ok 1 /properties/notify-in-init2 1389s # End of properties tests 1389s ok - glib/notify-init2.test 1389s # Running test: glib/hook.test 1389s TAP version 14 1389s # random seed: R02Sddd618bd94c80d0c7b26b40ffd5b6ee5 1389s 1..2 1389s # Start of hook tests 1389s ok 1 /hook/basics 1389s ok 2 /hook/corner-cases 1389s # End of hook tests 1389s ok - glib/hook.test 1389s # Running test: glib/gdbus-peer-object-manager.test 1389s TAP version 14 1389s # random seed: R02S2f7d3d6b124f4f80214a9060994c9cac 1389s 1..2 1389s # Start of gdbus tests 1389s # Start of peer-object-manager tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/normal/.dirs/runtime 1389s ok 1 /gdbus/peer-object-manager/normal 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_X0W6Z2/gdbus/peer-object-manager/root/.dirs/runtime 1389s ok 2 /gdbus/peer-object-manager/root 1389s # End of peer-object-manager tests 1389s # End of gdbus tests 1389s ok - glib/gdbus-peer-object-manager.test 1389s # Running test: glib/utils-isolated.test 1389s TAP version 14 1389s # random seed: R02Sacdcf211bb7fdfd8dd56c81196b5799f 1389s 1..11 1389s # Start of utils-isolated tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/tmp-dir/.dirs/runtime 1389s ok 1 /utils-isolated/tmp-dir 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/home-dir/.dirs/runtime 1389s ok 2 /utils-isolated/home-dir 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-cache-dir/.dirs/runtime 1389s ok 3 /utils-isolated/user-cache-dir 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-config-dirs/.dirs/runtime 1389s ok 4 /utils-isolated/system-config-dirs 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-config-dir/.dirs/runtime 1389s ok 5 /utils-isolated/user-config-dir 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/system-data-dirs/.dirs/runtime 1389s ok 6 /utils-isolated/system-data-dirs 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-data-dir/.dirs/runtime 1389s ok 7 /utils-isolated/user-data-dir 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-state-dir/.dirs/runtime 1389s ok 8 /utils-isolated/user-state-dir 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/user-runtime-dir/.dirs/runtime 1389s ok 9 /utils-isolated/user-runtime-dir 1389s # Start of cleanup tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1389s Unable to clean up temporary directory /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1389s Unable to clean up temporary directory /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1389s Unable to clean up temporary directory /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/handles-errors: Directory not empty 1389s ok 10 /utils-isolated/cleanup/handles-errors 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1389s Unable to clean up temporary directory /tmp/test_utils-isolated_ZCM6Z2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1389s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1389s # End of cleanup tests 1389s # End of utils-isolated tests 1389s ok - glib/utils-isolated.test 1389s # Running test: glib/signals-refcount3.test 1389s TAP version 14 1389s # random seed: R02S191c0515b3cff869f22886a9075cde80 1389s 1..1 1389s # Start of gobject tests 1389s # Start of refcount tests 1389s # init 0xb69d89e2c430 1389s # 1389s # init 0xb69d89e2c5d0 1389s # 1393s # Executing: glib/signals-refcount3.test 1394s # dispose 0xb69d89e2c430! 1394s # 1394s # dispose 0xb69d89e2c5d0! 1394s # 1394s ok 1 /gobject/refcount/signals 1394s # slow test /gobject/refcount/signals executed in 5.00 secs 1394s # End of refcount tests 1394s # End of gobject tests 1394s ok - glib/signals-refcount3.test 1394s # Running test: glib/qdata.test 1394s TAP version 14 1394s # random seed: R02S9fb6ac31692239c763f7f650b870974c 1394s 1..2 1394s # Start of qdata tests 1394s ok 1 /qdata/threaded 1394s ok 2 /qdata/dup 1394s # End of qdata tests 1394s ok - glib/qdata.test 1394s # Running test: glib/mapping.test 1394s TAP version 14 1394s # random seed: R02Sd2b392c8c71271d6ceae9cb7b4a19903 1394s 1..3 1394s # Start of mapping tests 1394s # test_mapping: ok 1394s ok 1 /mapping/flags 1394s ok 2 /mapping/private 1394s # test_child_private: child spawned 1394s # Subtest: /usr/libexec/installed-tests/glib/mapping 1394s # random seed: R02Sbe0663b95d049c269a93a7ae2ba778d4 1394s # test_child_private: received first child signal 1394s # test_child_private: received parent signal 1394s # Child exited with status 0 1394s # test_child_private: received second child signal 1394s ok 3 /mapping/private-child 1394s # End of mapping tests 1394s ok - glib/mapping.test 1394s # Running test: glib/gdbus-connection.test 1394s TAP version 14 1394s # random seed: R02S1e821680cb99bcd9e622df87c3530abf 1394s 1..9 1394s # Start of gdbus tests 1394s # Start of connection tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/bus-failure/.dirs/runtime 1394s ok 1 /gdbus/connection/bus-failure 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/basic/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 2 /gdbus/connection/basic 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/life-cycle/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 3 /gdbus/connection/life-cycle 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/send/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 4 /gdbus/connection/send 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signals/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 5 /gdbus/connection/signals 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/signal-match-rules/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 6 /gdbus/connection/signal-match-rules 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/filter/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 7 /gdbus/connection/filter 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/serials/.dirs/runtime 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 8 /gdbus/connection/serials 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YVAF02/gdbus/connection/cancel/.dirs/runtime 1394s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok 9 /gdbus/connection/cancel 1394s # End of connection tests 1394s # End of gdbus tests 1394s ok - glib/gdbus-connection.test 1394s # Running test: glib/type-flags.test 1394s TAP version 14 1394s # random seed: R02S63c92c51f16df2d5a0ba5c94c6169a05 1394s 1..4 1394s # Start of type tests 1394s # Start of flags tests 1394s ok 1 /type/flags/interface 1394s ok 2 /type/flags/final 1394s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1394s ok 3 /type/flags/deprecated 1394s # Start of final tests 1394s ok 4 /type/flags/final/instance-check 1394s # End of final tests 1394s # End of flags tests 1394s # End of type tests 1394s ok - glib/type-flags.test 1394s # Running test: glib/portal-support-snap-classic.test 1394s TAP version 14 1394s # random seed: R02Se6572f15cb44212dae2df61beedc4f85 1394s 1..3 1394s # Start of portal-support tests 1394s # Start of snap-classic tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl/.dirs/runtime 1394s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/no-snapctl: No such file or directory 1394s ok 1 /portal-support/snap-classic/no-snapctl 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/runtime 1394s # Created snap.yaml in /tmp/test_portal-support-snap-classic_7BJD02/meta/snap.yaml 1394s # Created snapctl in /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none/.dirs/runtime/snapctl 1394s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/none: No such file or directory 1394s ok 2 /portal-support/snap-classic/none 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/runtime 1394s # Created snap.yaml in /tmp/test_portal-support-snap-classic_7BJD02/meta/snap.yaml 1394s # Created snapctl in /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all/.dirs/runtime/snapctl 1394s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_7BJD02/portal-support/snap-classic/all: No such file or directory 1394s ok 3 /portal-support/snap-classic/all 1394s # End of snap-classic tests 1394s # End of portal-support tests 1394s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_7BJD02: No such file or directory 1394s ok - glib/portal-support-snap-classic.test 1394s # Running test: glib/gdbus-proxy.test 1394s TAP version 14 1394s # random seed: R02Saeb2528fae80a8a6fa65b196ccbd2e43 1394s 1..5 1394s # Start of gdbus tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/.dirs/runtime 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1396s ok 1 /gdbus/proxy 1396s # slow test /gdbus/proxy executed in 1.72 secs 1396s # Start of proxy tests 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-properties/.dirs/runtime 1396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1396s ok 2 /gdbus/proxy/no-properties 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/wellknown-noauto/.dirs/runtime 1396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1396s ok 3 /gdbus/proxy/wellknown-noauto 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/async/.dirs/runtime 1396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1398s # Executing: glib/gdbus-proxy.test 1398s ok 4 /gdbus/proxy/async 1398s # slow test /gdbus/proxy/async executed in 1.72 secs 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_V5YB02/gdbus/proxy/no-match-rule/.dirs/runtime 1398s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1398s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1400s ok 5 /gdbus/proxy/no-match-rule 1400s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1400s # End of proxy tests 1400s # End of gdbus tests 1400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1400s ok - glib/gdbus-proxy.test 1400s # Running test: glib/onceinit.test 1400s TAP version 14 1400s # random seed: R02S544260f2ddb844cb16152df47495cf47 1400s 1..1 1400s # Start of thread tests 1400s ok 1 /thread/onceinit 1400s # End of thread tests 1400s ok - glib/onceinit.test 1400s # Running test: glib/rcbox.test 1400s TAP version 14 1400s # random seed: R02Sade2b52b80ceec8c79279e876e5c6030 1400s 1..8 1400s # Start of rcbox tests 1400s ok 1 /rcbox/new 1400s # global_point = 0xbe2d5a7b08d0 1400s ok 2 /rcbox/release-full 1400s # global_point_a = 0xbe2d5a7b08d0 1400s # global_point_b = 0xbe2d5a7b0890 1400s ok 3 /rcbox/dup 1400s ok 4 /rcbox/alignment 1400s # End of rcbox tests 1400s # Start of atomic-rcbox tests 1400s ok 5 /atomic-rcbox/new 1400s # global_point = 0xbe2d5a7b0aa0 1400s ok 6 /atomic-rcbox/release-full 1400s # global_point_a = 0xbe2d5a7b0aa0 1400s # global_point_b = 0xbe2d5a7b0a60 1400s ok 7 /atomic-rcbox/dup 1400s ok 8 /atomic-rcbox/alignment 1400s # End of atomic-rcbox tests 1400s ok - glib/rcbox.test 1400s # Running test: glib/async-splice-output-stream.test 1400s TAP version 14 1400s # random seed: R02Sf56032a12d2a749768190258fab533bb 1400s 1..5 1400s # Start of async-splice tests 1400s ok 1 /async-splice/copy-chunks 1400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1400s ok 2 /async-splice/copy-chunks-threaded-input 1400s ok 3 /async-splice/copy-chunks-threaded-output 1400s ok 4 /async-splice/copy-chunks-threaded 1400s ok 5 /async-splice/cancelled 1400s # End of async-splice tests 1400s ok - glib/async-splice-output-stream.test 1400s # Running test: glib/volumemonitor.test 1400s TAP version 14 1400s # random seed: R02S475c416b2f5763c6ea97f2fac8dec4ad 1400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1400s 1..3 1400s # Start of volumemonitor tests 1400s ok 1 /volumemonitor/connected_drives 1400s ok 2 /volumemonitor/volumes 1400s ok 3 /volumemonitor/mounts 1400s # End of volumemonitor tests 1400s ok - glib/volumemonitor.test 1400s # Running test: glib/singleton.test 1400s TAP version 14 1400s # random seed: R02See2ea6dc5c2c113a371cc98948af0d79 1400s 1..2 1400s # Start of gobject tests 1400s # Start of singleton tests 1400s ok 1 /gobject/singleton/construction 1400s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1400s ok 2 /gobject/singleton/construct-property 1400s # End of singleton tests 1400s # End of gobject tests 1400s ok - glib/singleton.test 1400s # Running test: glib/vfs.test 1400s TAP version 14 1400s # random seed: R02S88476e037a9d5b66942387ce427a89b9 1400s 1..3 1400s # Start of gvfs tests 1400s ok 1 /gvfs/local 1400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1400s ok 2 /gvfs/register-scheme 1400s # Start of resource tests 1400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1400s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1400s ok 3 /gvfs/resource/malformed-escaping 1400s # End of resource tests 1400s # End of gvfs tests 1400s ok - glib/vfs.test 1400s # Running test: glib/codegen.py.test 1400s TAP version 13 1400s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1400s # tmpdir: /tmp/tmp1mty_0_n 1400s # codegen: /usr/bin/gdbus-codegen 1400s # /tmp/tmp1mty_0_n/tmpfohxzvp1.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1mty_0_n/tmpfohxzvp1.xml', '--output', '-', '--header'] 1400s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifndef __STDOUT__ 1400s # #define __STDOUT__ 1400s # 1400s # #include 1400s # 1400s # G_BEGIN_DECLS 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # /* Declarations for org.project.UsefulInterface */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1400s # 1400s # struct _OrgProjectUsefulInterface; 1400s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1400s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1400s # 1400s # struct _OrgProjectUsefulInterfaceIface 1400s # { 1400s # GTypeInterface parent_iface; 1400s # 1400s # gboolean (*handle_useful_method) ( 1400s # OrgProjectUsefulInterface *object, 1400s # GDBusMethodInvocation *invocation); 1400s # 1400s # }; 1400s # 1400s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1400s # 1400s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1400s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1400s # 1400s # 1400s # /* D-Bus method call completion functions: */ 1400s # void org_project_useful_interface_complete_useful_method ( 1400s # OrgProjectUsefulInterface *object, 1400s # GDBusMethodInvocation *invocation); 1400s # 1400s # 1400s # 1400s # /* D-Bus method calls: */ 1400s # void org_project_useful_interface_call_useful_method ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # 1400s # gboolean org_project_useful_interface_call_useful_method_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # 1400s # gboolean org_project_useful_interface_call_useful_method_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # 1400s # 1400s # /* ---- */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1400s # 1400s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1400s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1400s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxy 1400s # { 1400s # /*< private >*/ 1400s # GDBusProxy parent_instance; 1400s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1400s # }; 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyClass 1400s # { 1400s # GDBusProxyClass parent_class; 1400s # }; 1400s # 1400s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1400s # 1400s # #if GLIB_CHECK_VERSION(2, 44, 0) 1400s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1400s # #endif 1400s # 1400s # void org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # void org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # 1400s # /* ---- */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1400s # 1400s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1400s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1400s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeleton 1400s # { 1400s # /*< private >*/ 1400s # GDBusInterfaceSkeleton parent_instance; 1400s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1400s # }; 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonClass 1400s # { 1400s # GDBusInterfaceSkeletonClass parent_class; 1400s # }; 1400s # 1400s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1400s # 1400s # #if GLIB_CHECK_VERSION(2, 44, 0) 1400s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1400s # #endif 1400s # 1400s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1400s # 1400s # 1400s # G_END_DECLS 1400s # 1400s # #endif /* __STDOUT__ */ 1400s # /tmp/tmp1mty_0_n/tmpy_vx9i2i.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1mty_0_n/tmpy_vx9i2i.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1400s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifndef __STDOUT__ 1400s # #define __STDOUT__ 1400s # 1400s # #include 1400s # 1400s # G_BEGIN_DECLS 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # /* Declarations for org.project.UsefulInterface */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1400s # 1400s # struct _OrgProjectUsefulInterface; 1400s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1400s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1400s # 1400s # struct _OrgProjectUsefulInterfaceIface 1400s # { 1400s # GTypeInterface parent_iface; 1400s # 1400s # gboolean (*handle_useful_method) ( 1400s # OrgProjectUsefulInterface *object, 1400s # GDBusMethodInvocation *invocation); 1400s # 1400s # }; 1400s # 1400s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1400s # 1400s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1400s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1400s # 1400s # 1400s # /* D-Bus method call completion functions: */ 1400s # void org_project_useful_interface_complete_useful_method ( 1400s # OrgProjectUsefulInterface *object, 1400s # GDBusMethodInvocation *invocation); 1400s # 1400s # 1400s # 1400s # /* D-Bus method calls: */ 1400s # void org_project_useful_interface_call_useful_method ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # 1400s # gboolean org_project_useful_interface_call_useful_method_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # 1400s # gboolean org_project_useful_interface_call_useful_method_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # 1400s # 1400s # /* ---- */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1400s # 1400s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1400s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1400s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxy 1400s # { 1400s # /*< private >*/ 1400s # GDBusProxy parent_instance; 1400s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1400s # }; 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyClass 1400s # { 1400s # GDBusProxyClass parent_class; 1400s # }; 1400s # 1400s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1400s # 1400s # #if GLIB_CHECK_VERSION(2, 44, 0) 1400s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1400s # #endif 1400s # 1400s # void org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # void org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # 1400s # /* ---- */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1400s # 1400s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1400s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1400s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeleton 1400s # { 1400s # /*< private >*/ 1400s # GDBusInterfaceSkeleton parent_instance; 1400s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1400s # }; 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonClass 1400s # { 1400s # GDBusInterfaceSkeletonClass parent_class; 1400s # }; 1400s # 1400s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1400s # 1400s # #if GLIB_CHECK_VERSION(2, 44, 0) 1400s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1400s # #endif 1400s # 1400s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1400s # 1400s # 1400s # G_END_DECLS 1400s # 1400s # #endif /* __STDOUT__ */ 1400s # /tmp/tmp1mty_0_n/tmpdg_r2ro1.xml: 1400s # 1400s # 1400s # 1400s # 1400s # 1400s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1mty_0_n/tmpdg_r2ro1.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1400s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1400s # Output: /* 1400s # * This file is generated by gdbus-codegen, do not modify it. 1400s # * 1400s # * The license of this code is the same as for the D-Bus interface description 1400s # * it was derived from. Note that it links to GLib, so must comply with the 1400s # * LGPL linking clauses. 1400s # */ 1400s # 1400s # #ifndef __STDOUT__ 1400s # #define __STDOUT__ 1400s # 1400s # #include 1400s # 1400s # G_BEGIN_DECLS 1400s # 1400s # 1400s # /* ------------------------------------------------------------------------ */ 1400s # /* Declarations for org.project.UsefulInterface */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1400s # 1400s # struct _OrgProjectUsefulInterface; 1400s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1400s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1400s # 1400s # struct _OrgProjectUsefulInterfaceIface 1400s # { 1400s # GTypeInterface parent_iface; 1400s # 1400s # gboolean (*handle_useful_method) ( 1400s # OrgProjectUsefulInterface *object, 1400s # GDBusMethodInvocation *invocation); 1400s # 1400s # }; 1400s # 1400s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1400s # 1400s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1400s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1400s # 1400s # 1400s # /* D-Bus method call completion functions: */ 1400s # void org_project_useful_interface_complete_useful_method ( 1400s # OrgProjectUsefulInterface *object, 1400s # GDBusMethodInvocation *invocation); 1400s # 1400s # 1400s # 1400s # /* D-Bus method calls: */ 1400s # void org_project_useful_interface_call_useful_method ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GDBusCallFlags call_flags, 1400s # gint timeout_msec, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # 1400s # gboolean org_project_useful_interface_call_useful_method_finish ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # 1400s # gboolean org_project_useful_interface_call_useful_method_sync ( 1400s # OrgProjectUsefulInterface *proxy, 1400s # GDBusCallFlags call_flags, 1400s # gint timeout_msec, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # 1400s # 1400s # /* ---- */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1400s # 1400s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1400s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1400s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxy 1400s # { 1400s # /*< private >*/ 1400s # GDBusProxy parent_instance; 1400s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1400s # }; 1400s # 1400s # struct _OrgProjectUsefulInterfaceProxyClass 1400s # { 1400s # GDBusProxyClass parent_class; 1400s # }; 1400s # 1400s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1400s # 1400s # #if GLIB_CHECK_VERSION(2, 44, 0) 1400s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1400s # #endif 1400s # 1400s # void org_project_useful_interface_proxy_new ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1400s # GDBusConnection *connection, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # void org_project_useful_interface_proxy_new_for_bus ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GAsyncReadyCallback callback, 1400s # gpointer user_data); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1400s # GAsyncResult *res, 1400s # GError **error); 1400s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1400s # GBusType bus_type, 1400s # GDBusProxyFlags flags, 1400s # const gchar *name, 1400s # const gchar *object_path, 1400s # GCancellable *cancellable, 1400s # GError **error); 1400s # 1400s # 1400s # /* ---- */ 1400s # 1400s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1400s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1400s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1400s # 1400s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1400s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1400s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeleton 1400s # { 1400s # /*< private >*/ 1400s # GDBusInterfaceSkeleton parent_instance; 1400s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1400s # }; 1400s # 1400s # struct _OrgProjectUsefulInterfaceSkeletonClass 1400s # { 1400s # GDBusInterfaceSkeletonClass parent_class; 1400s # }; 1400s # 1400s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1400s # 1400s # #if GLIB_CHECK_VERSION(2, 44, 0) 1400s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1400s # #endif 1400s # 1400s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1400s # 1400s # 1400s # G_END_DECLS 1400s # 1400s # #endif /* __STDOUT__ */ 1401s ok 2 __main__.TestCodegen.test_dbus_types 1401s # tmpdir: /tmp/tmpm98__io_ 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpm98__io_/tmpx18p2iep.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpx18p2iep.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpj5d_rio7.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpj5d_rio7.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmprdm2ktsz.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmprdm2ktsz.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpsbmercon.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpsbmercon.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpoe0xwnfk.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpoe0xwnfk.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpjyf_nm36.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpjyf_nm36.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpn1gxqje2.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpn1gxqje2.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpf_i0kd1g.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpf_i0kd1g.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpj52i2w4d.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpj52i2w4d.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmps3r87ddx.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmps3r87ddx.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmp1iaqwoh1.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmp1iaqwoh1.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpclixv8yq.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpclixv8yq.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmp1fwi8rb0.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmp1fwi8rb0.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # /tmp/tmpm98__io_/tmpgwam9ki4.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpgwam9ki4.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface GoodTypes 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:GoodTypes 1401s # * @title: GoodTypes 1401s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1401s # * 1401s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for GoodTypes ---- */ 1401s # 1401s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "GoodPropertyType", 1401s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1401s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1401s # NULL 1401s # }, 1401s # "good-property-type", 1401s # FALSE, 1401s # TRUE 1401s # }; 1401s # 1401s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1401s # { 1401s # &_good_types_property_info_good_property_type.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "GoodTypes", 1401s # NULL, 1401s # NULL, 1401s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1401s # NULL 1401s # }, 1401s # "good-types", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * good_types_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # good_types_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * good_types_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1401s # { 1401s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # 1401s # /** 1401s # * GoodTypes: 1401s # * 1401s # * Abstract interface type for the D-Bus interface GoodTypes. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesIface: 1401s # * @parent_iface: The parent interface. 1401s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1401s # * 1401s # * Virtual table for the D-Bus interface GoodTypes. 1401s # */ 1401s # 1401s # typedef GoodTypesIface GoodTypesInterface; 1401s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # good_types_default_init (GoodTypesIface *iface) 1401s # { 1401s # /* GObject properties for D-Bus properties: */ 1401s # /** 1401s # * GoodTypes:good-property-type: 1401s # * 1401s # * Represents the D-Bus property "GoodPropertyType". 1401s # * 1401s # * 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. 1401s # */ 1401s # g_object_interface_install_property (iface, 1401s # 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)); 1401s # } 1401s # 1401s # /** 1401s # * good_types_get_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * 1401s # * Gets the value of the "GoodPropertyType" D-Bus property. 1401s # * 1401s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # GVariant * 1401s # good_types_get_good_property_type (GoodTypes *object) 1401s # { 1401s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1401s # 1401s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1401s # } 1401s # 1401s # /** 1401s # * good_types_dup_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * 1401s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1401s # * 1401s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1401s # * 1401s # * 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(). 1401s # */ 1401s # GVariant * 1401s # good_types_dup_good_property_type (GoodTypes *object) 1401s # { 1401s # GVariant *value; 1401s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1401s # return value; 1401s # } 1401s # 1401s # /** 1401s # * good_types_set_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * @value: The value to set. 1401s # * 1401s # * Sets the "GoodPropertyType" D-Bus property to @value. 1401s # * 1401s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1401s # */ 1401s # void 1401s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1401s # { 1401s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * GoodTypesProxy: 1401s # * 1401s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for GoodTypesProxy. 1401s # */ 1401s # 1401s # struct _GoodTypesProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (GoodTypesProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # good_types_proxy_finalize (GObject *object) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_get_property (GObject *object, 1401s # guint prop_id, 1401s # GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *variant; 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1401s # if (info->use_gvariant) 1401s # { 1401s # g_value_set_variant (value, variant); 1401s # } 1401s # else 1401s # { 1401s # if (variant != NULL) 1401s # g_dbus_gvariant_to_gvalue (variant, value); 1401s # } 1401s # if (variant != NULL) 1401s # g_variant_unref (variant); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1401s # GAsyncResult *res, 1401s # gpointer user_data) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info = user_data; 1401s # GError *error; 1401s # GVariant *_ret; 1401s # error = NULL; 1401s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1401s # if (!_ret) 1401s # { 1401s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1401s # info->parent_struct.name, 1401s # error->message, g_quark_to_string (error->domain), error->code); 1401s # g_error_free (error); 1401s # } 1401s # else 1401s # { 1401s # g_variant_unref (_ret); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_set_property (GObject *object, 1401s # guint prop_id, 1401s # const GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *variant; 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1401s # "org.freedesktop.DBus.Properties.Set", 1401s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1401s # g_variant_unref (variant); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_proxy_get_good_property_type (GoodTypes *object) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1401s # GVariant *variant; 1401s # GVariant *value = NULL; 1401s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1401s # value = variant; 1401s # if (variant != NULL) 1401s # g_variant_unref (variant); 1401s # return value; 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_init (GoodTypesProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = good_types_proxy_finalize; 1401s # gobject_class->get_property = good_types_proxy_get_property; 1401s # gobject_class->set_property = good_types_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = good_types_proxy_g_signal; 1401s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1401s # 1401s # good_types_override_properties (gobject_class, 1); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_iface_init (GoodTypesIface *iface) 1401s # { 1401s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # good_types_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with good_types_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # good_types_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * GoodTypesSkeleton: 1401s # * 1401s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for GoodTypesSkeleton. 1401s # */ 1401s # 1401s # struct _GoodTypesSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _good_types_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _good_types_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _good_types_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1401s # { 1401s # _good_types_skeleton_handle_method_call, 1401s # _good_types_skeleton_handle_get_property, 1401s # _good_types_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return good_types_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_good_types_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static gboolean _good_types_emit_changed (gpointer user_data); 1401s # 1401s # static void 1401s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1401s # gboolean emit_changed = FALSE; 1401s # 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # { 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # skeleton->priv->changed_properties_idle_source = NULL; 1401s # emit_changed = TRUE; 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # 1401s # if (emit_changed) 1401s # _good_types_emit_changed (skeleton); 1401s # } 1401s # 1401s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (GoodTypesSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # good_types_skeleton_finalize (GObject *object) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # guint n; 1401s # for (n = 0; n < 1; n++) 1401s # g_value_unset (&skeleton->priv->properties[n]); 1401s # g_free (skeleton->priv->properties); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_get_property (GObject *object, 1401s # guint prop_id, 1401s # GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # } 1401s # 1401s # static gboolean 1401s # _good_types_emit_changed (gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GList *l; 1401s # GVariantBuilder builder; 1401s # GVariantBuilder invalidated_builder; 1401s # guint num_changes; 1401s # 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1401s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1401s # { 1401s # ChangedProperty *cp = l->data; 1401s # GVariant *variant; 1401s # const GValue *cur_value; 1401s # 1401s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1401s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1401s # { 1401s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1401s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1401s # g_variant_unref (variant); 1401s # num_changes++; 1401s # } 1401s # } 1401s # if (num_changes > 0) 1401s # { 1401s # GList *connections, *ll; 1401s # GVariant *signal_variant; 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1401s # &builder, &invalidated_builder)); 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # for (ll = connections; ll != NULL; ll = ll->next) 1401s # { 1401s # GDBusConnection *connection = ll->data; 1401s # 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1401s # "org.freedesktop.DBus.Properties", 1401s # "PropertiesChanged", 1401s # signal_variant, 1401s # NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # else 1401s # { 1401s # g_variant_builder_clear (&builder); 1401s # g_variant_builder_clear (&invalidated_builder); 1401s # } 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # skeleton->priv->changed_properties = NULL; 1401s # skeleton->priv->changed_properties_idle_source = NULL; 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # return FALSE; 1401s # } 1401s # 1401s # static void 1401s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1401s # { 1401s # ChangedProperty *cp; 1401s # GList *l; 1401s # cp = NULL; 1401s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1401s # { 1401s # ChangedProperty *i_cp = l->data; 1401s # if (i_cp->info == info) 1401s # { 1401s # cp = i_cp; 1401s # break; 1401s # } 1401s # } 1401s # if (cp == NULL) 1401s # { 1401s # cp = g_new0 (ChangedProperty, 1); 1401s # cp->prop_id = prop_id; 1401s # cp->info = info; 1401s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1401s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1401s # g_value_copy (orig_value, &cp->orig_value); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_notify (GObject *object, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # if (skeleton->priv->changed_properties != NULL && 1401s # skeleton->priv->changed_properties_idle_source == NULL) 1401s # { 1401s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1401s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1401s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1401s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1401s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1401s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_set_property (GObject *object, 1401s # guint prop_id, 1401s # const GValue *value, 1401s # GParamSpec *pspec) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_object_freeze_notify (object); 1401s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1401s # { 1401s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1401s # info->emits_changed_signal) 1401s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1401s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1401s # g_object_notify_by_pspec (object, pspec); 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # g_object_thaw_notify (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # skeleton->priv->properties = g_new0 (GValue, 1); 1401s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # GVariant *value; 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # return value; 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = good_types_skeleton_finalize; 1401s # gobject_class->get_property = good_types_skeleton_get_property; 1401s # gobject_class->set_property = good_types_skeleton_set_property; 1401s # gobject_class->notify = good_types_skeleton_notify; 1401s # 1401s # 1401s # good_types_override_properties (gobject_class, 1); 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1401s # { 1401s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1401s # } 1401s # 1401s # /** 1401s # * good_types_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1401s # */ 1401s # GoodTypes * 1401s # good_types_skeleton_new (void) 1401s # { 1401s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpm98__io_/tmpcnzt4ia_.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpcnzt4ia_.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface GoodTypes 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:GoodTypes 1401s # * @title: GoodTypes 1401s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1401s # * 1401s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for GoodTypes ---- */ 1401s # 1401s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "GoodPropertyType", 1401s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1401s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1401s # NULL 1401s # }, 1401s # "good-property-type", 1401s # FALSE, 1401s # TRUE 1401s # }; 1401s # 1401s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1401s # { 1401s # &_good_types_property_info_good_property_type.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "GoodTypes", 1401s # NULL, 1401s # NULL, 1401s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1401s # NULL 1401s # }, 1401s # "good-types", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * good_types_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # good_types_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * good_types_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1401s # { 1401s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # 1401s # /** 1401s # * GoodTypes: 1401s # * 1401s # * Abstract interface type for the D-Bus interface GoodTypes. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesIface: 1401s # * @parent_iface: The parent interface. 1401s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1401s # * 1401s # * Virtual table for the D-Bus interface GoodTypes. 1401s # */ 1401s # 1401s # typedef GoodTypesIface GoodTypesInterface; 1401s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # good_types_default_init (GoodTypesIface *iface) 1401s # { 1401s # /* GObject properties for D-Bus properties: */ 1401s # /** 1401s # * GoodTypes:good-property-type: 1401s # * 1401s # * Represents the D-Bus property "GoodPropertyType". 1401s # * 1401s # * 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. 1401s # */ 1401s # g_object_interface_install_property (iface, 1401s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1401s # } 1401s # 1401s # /** 1401s # * good_types_get_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * 1401s # * Gets the value of the "GoodPropertyType" D-Bus property. 1401s # * 1401s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # GVariant * 1401s # good_types_get_good_property_type (GoodTypes *object) 1401s # { 1401s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1401s # 1401s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1401s # } 1401s # 1401s # /** 1401s # * good_types_dup_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * 1401s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1401s # * 1401s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1401s # * 1401s # * 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(). 1401s # */ 1401s # GVariant * 1401s # good_types_dup_good_property_type (GoodTypes *object) 1401s # { 1401s # GVariant *value; 1401s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1401s # return value; 1401s # } 1401s # 1401s # /** 1401s # * good_types_set_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * @value: The value to set. 1401s # * 1401s # * Sets the "GoodPropertyType" D-Bus property to @value. 1401s # * 1401s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1401s # */ 1401s # void 1401s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1401s # { 1401s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * GoodTypesProxy: 1401s # * 1401s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for GoodTypesProxy. 1401s # */ 1401s # 1401s # struct _GoodTypesProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (GoodTypesProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # good_types_proxy_finalize (GObject *object) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_get_property (GObject *object, 1401s # guint prop_id, 1401s # GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *variant; 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1401s # if (info->use_gvariant) 1401s # { 1401s # g_value_set_variant (value, variant); 1401s # } 1401s # else 1401s # { 1401s # if (variant != NULL) 1401s # g_dbus_gvariant_to_gvalue (variant, value); 1401s # } 1401s # if (variant != NULL) 1401s # g_variant_unref (variant); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1401s # GAsyncResult *res, 1401s # gpointer user_data) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info = user_data; 1401s # GError *error; 1401s # GVariant *_ret; 1401s # error = NULL; 1401s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1401s # if (!_ret) 1401s # { 1401s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1401s # info->parent_struct.name, 1401s # error->message, g_quark_to_string (error->domain), error->code); 1401s # g_error_free (error); 1401s # } 1401s # else 1401s # { 1401s # g_variant_unref (_ret); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_set_property (GObject *object, 1401s # guint prop_id, 1401s # const GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *variant; 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1401s # "org.freedesktop.DBus.Properties.Set", 1401s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1401s # g_variant_unref (variant); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_proxy_get_good_property_type (GoodTypes *object) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1401s # GVariant *variant; 1401s # GVariant *value = NULL; 1401s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1401s # value = variant; 1401s # if (variant != NULL) 1401s # g_variant_unref (variant); 1401s # return value; 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_init (GoodTypesProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = good_types_proxy_finalize; 1401s # gobject_class->get_property = good_types_proxy_get_property; 1401s # gobject_class->set_property = good_types_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = good_types_proxy_g_signal; 1401s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1401s # 1401s # good_types_override_properties (gobject_class, 1); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_iface_init (GoodTypesIface *iface) 1401s # { 1401s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # good_types_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with good_types_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # good_types_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * GoodTypesSkeleton: 1401s # * 1401s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for GoodTypesSkeleton. 1401s # */ 1401s # 1401s # struct _GoodTypesSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _good_types_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _good_types_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _good_types_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1401s # { 1401s # _good_types_skeleton_handle_method_call, 1401s # _good_types_skeleton_handle_get_property, 1401s # _good_types_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return good_types_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_good_types_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static gboolean _good_types_emit_changed (gpointer user_data); 1401s # 1401s # static void 1401s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1401s # gboolean emit_changed = FALSE; 1401s # 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # { 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # skeleton->priv->changed_properties_idle_source = NULL; 1401s # emit_changed = TRUE; 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # 1401s # if (emit_changed) 1401s # _good_types_emit_changed (skeleton); 1401s # } 1401s # 1401s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (GoodTypesSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # good_types_skeleton_finalize (GObject *object) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # guint n; 1401s # for (n = 0; n < 1; n++) 1401s # g_value_unset (&skeleton->priv->properties[n]); 1401s # g_free (skeleton->priv->properties); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_get_property (GObject *object, 1401s # guint prop_id, 1401s # GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # } 1401s # 1401s # static gboolean 1401s # _good_types_emit_changed (gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GList *l; 1401s # GVariantBuilder builder; 1401s # GVariantBuilder invalidated_builder; 1401s # guint num_changes; 1401s # 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1401s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1401s # { 1401s # ChangedProperty *cp = l->data; 1401s # GVariant *variant; 1401s # const GValue *cur_value; 1401s # 1401s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1401s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1401s # { 1401s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1401s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1401s # g_variant_unref (variant); 1401s # num_changes++; 1401s # } 1401s # } 1401s # if (num_changes > 0) 1401s # { 1401s # GList *connections, *ll; 1401s # GVariant *signal_variant; 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1401s # &builder, &invalidated_builder)); 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # for (ll = connections; ll != NULL; ll = ll->next) 1401s # { 1401s # GDBusConnection *connection = ll->data; 1401s # 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1401s # "org.freedesktop.DBus.Properties", 1401s # "PropertiesChanged", 1401s # signal_variant, 1401s # NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # else 1401s # { 1401s # g_variant_builder_clear (&builder); 1401s # g_variant_builder_clear (&invalidated_builder); 1401s # } 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # skeleton->priv->changed_properties = NULL; 1401s # skeleton->priv->changed_properties_idle_source = NULL; 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # return FALSE; 1401s # } 1401s # 1401s # static void 1401s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1401s # { 1401s # ChangedProperty *cp; 1401s # GList *l; 1401s # cp = NULL; 1401s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1401s # { 1401s # ChangedProperty *i_cp = l->data; 1401s # if (i_cp->info == info) 1401s # { 1401s # cp = i_cp; 1401s # break; 1401s # } 1401s # } 1401s # if (cp == NULL) 1401s # { 1401s # cp = g_new0 (ChangedProperty, 1); 1401s # cp->prop_id = prop_id; 1401s # cp->info = info; 1401s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1401s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1401s # g_value_copy (orig_value, &cp->orig_value); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_notify (GObject *object, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # if (skeleton->priv->changed_properties != NULL && 1401s # skeleton->priv->changed_properties_idle_source == NULL) 1401s # { 1401s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1401s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1401s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1401s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1401s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1401s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_set_property (GObject *object, 1401s # guint prop_id, 1401s # const GValue *value, 1401s # GParamSpec *pspec) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_object_freeze_notify (object); 1401s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1401s # { 1401s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1401s # info->emits_changed_signal) 1401s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1401s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1401s # g_object_notify_by_pspec (object, pspec); 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # g_object_thaw_notify (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # skeleton->priv->properties = g_new0 (GValue, 1); 1401s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # GVariant *value; 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # return value; 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = good_types_skeleton_finalize; 1401s # gobject_class->get_property = good_types_skeleton_get_property; 1401s # gobject_class->set_property = good_types_skeleton_set_property; 1401s # gobject_class->notify = good_types_skeleton_notify; 1401s # 1401s # 1401s # good_types_override_properties (gobject_class, 1); 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1401s # { 1401s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1401s # } 1401s # 1401s # /** 1401s # * good_types_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1401s # */ 1401s # GoodTypes * 1401s # good_types_skeleton_new (void) 1401s # { 1401s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1401s # } 1401s # /tmp/tmpm98__io_/tmpt7k0d7fk.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm98__io_/tmpt7k0d7fk.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface GoodTypes 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:GoodTypes 1401s # * @title: GoodTypes 1401s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1401s # * 1401s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for GoodTypes ---- */ 1401s # 1401s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "GoodPropertyType", 1401s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1401s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1401s # NULL 1401s # }, 1401s # "good-property-type", 1401s # FALSE, 1401s # TRUE 1401s # }; 1401s # 1401s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1401s # { 1401s # &_good_types_property_info_good_property_type.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "GoodTypes", 1401s # NULL, 1401s # NULL, 1401s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1401s # NULL 1401s # }, 1401s # "good-types", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * good_types_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # good_types_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * good_types_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1401s # { 1401s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # 1401s # /** 1401s # * GoodTypes: 1401s # * 1401s # * Abstract interface type for the D-Bus interface GoodTypes. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesIface: 1401s # * @parent_iface: The parent interface. 1401s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1401s # * 1401s # * Virtual table for the D-Bus interface GoodTypes. 1401s # */ 1401s # 1401s # typedef GoodTypesIface GoodTypesInterface; 1401s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # good_types_default_init (GoodTypesIface *iface) 1401s # { 1401s # /* GObject properties for D-Bus properties: */ 1401s # /** 1401s # * GoodTypes:good-property-type: 1401s # * 1401s # * Represents the D-Bus property "GoodPropertyType". 1401s # * 1401s # * 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. 1401s # */ 1401s # g_object_interface_install_property (iface, 1401s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1401s # } 1401s # 1401s # /** 1401s # * good_types_get_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * 1401s # * Gets the value of the "GoodPropertyType" D-Bus property. 1401s # * 1401s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # GVariant * 1401s # good_types_get_good_property_type (GoodTypes *object) 1401s # { 1401s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1401s # 1401s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1401s # } 1401s # 1401s # /** 1401s # * good_types_dup_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * 1401s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1401s # * 1401s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1401s # * 1401s # * 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(). 1401s # */ 1401s # GVariant * 1401s # good_types_dup_good_property_type (GoodTypes *object) 1401s # { 1401s # GVariant *value; 1401s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1401s # return value; 1401s # } 1401s # 1401s # /** 1401s # * good_types_set_good_property_type: (skip) 1401s # * @object: A GoodTypes. 1401s # * @value: The value to set. 1401s # * 1401s # * Sets the "GoodPropertyType" D-Bus property to @value. 1401s # * 1401s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1401s # */ 1401s # void 1401s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1401s # { 1401s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * GoodTypesProxy: 1401s # * 1401s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for GoodTypesProxy. 1401s # */ 1401s # 1401s # struct _GoodTypesProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (GoodTypesProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # good_types_proxy_finalize (GObject *object) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_get_property (GObject *object, 1401s # guint prop_id, 1401s # GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *variant; 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1401s # if (info->use_gvariant) 1401s # { 1401s # g_value_set_variant (value, variant); 1401s # } 1401s # else 1401s # { 1401s # if (variant != NULL) 1401s # g_dbus_gvariant_to_gvalue (variant, value); 1401s # } 1401s # if (variant != NULL) 1401s # g_variant_unref (variant); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1401s # GAsyncResult *res, 1401s # gpointer user_data) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info = user_data; 1401s # GError *error; 1401s # GVariant *_ret; 1401s # error = NULL; 1401s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1401s # if (!_ret) 1401s # { 1401s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1401s # info->parent_struct.name, 1401s # error->message, g_quark_to_string (error->domain), error->code); 1401s # g_error_free (error); 1401s # } 1401s # else 1401s # { 1401s # g_variant_unref (_ret); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_set_property (GObject *object, 1401s # guint prop_id, 1401s # const GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *variant; 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1401s # "org.freedesktop.DBus.Properties.Set", 1401s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1401s # g_variant_unref (variant); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_proxy_get_good_property_type (GoodTypes *object) 1401s # { 1401s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1401s # GVariant *variant; 1401s # GVariant *value = NULL; 1401s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1401s # value = variant; 1401s # if (variant != NULL) 1401s # g_variant_unref (variant); 1401s # return value; 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_init (GoodTypesProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = good_types_proxy_finalize; 1401s # gobject_class->get_property = good_types_proxy_get_property; 1401s # gobject_class->set_property = good_types_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = good_types_proxy_g_signal; 1401s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1401s # 1401s # good_types_override_properties (gobject_class, 1); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # good_types_proxy_iface_init (GoodTypesIface *iface) 1401s # { 1401s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # good_types_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with good_types_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # good_types_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * good_types_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # GoodTypes * 1401s # good_types_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return GOOD_TYPES (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * GoodTypesSkeleton: 1401s # * 1401s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * GoodTypesSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for GoodTypesSkeleton. 1401s # */ 1401s # 1401s # struct _GoodTypesSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _good_types_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _good_types_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _good_types_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1401s # { 1401s # _good_types_skeleton_handle_method_call, 1401s # _good_types_skeleton_handle_get_property, 1401s # _good_types_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return good_types_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_good_types_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static gboolean _good_types_emit_changed (gpointer user_data); 1401s # 1401s # static void 1401s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1401s # gboolean emit_changed = FALSE; 1401s # 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # { 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # skeleton->priv->changed_properties_idle_source = NULL; 1401s # emit_changed = TRUE; 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # 1401s # if (emit_changed) 1401s # _good_types_emit_changed (skeleton); 1401s # } 1401s # 1401s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (GoodTypesSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # good_types_skeleton_finalize (GObject *object) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # guint n; 1401s # for (n = 0; n < 1; n++) 1401s # g_value_unset (&skeleton->priv->properties[n]); 1401s # g_free (skeleton->priv->properties); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_get_property (GObject *object, 1401s # guint prop_id, 1401s # GValue *value, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # } 1401s # 1401s # static gboolean 1401s # _good_types_emit_changed (gpointer user_data) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1401s # GList *l; 1401s # GVariantBuilder builder; 1401s # GVariantBuilder invalidated_builder; 1401s # guint num_changes; 1401s # 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1401s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1401s # { 1401s # ChangedProperty *cp = l->data; 1401s # GVariant *variant; 1401s # const GValue *cur_value; 1401s # 1401s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1401s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1401s # { 1401s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1401s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1401s # g_variant_unref (variant); 1401s # num_changes++; 1401s # } 1401s # } 1401s # if (num_changes > 0) 1401s # { 1401s # GList *connections, *ll; 1401s # GVariant *signal_variant; 1401s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1401s # &builder, &invalidated_builder)); 1401s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1401s # for (ll = connections; ll != NULL; ll = ll->next) 1401s # { 1401s # GDBusConnection *connection = ll->data; 1401s # 1401s # g_dbus_connection_emit_signal (connection, 1401s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1401s # "org.freedesktop.DBus.Properties", 1401s # "PropertiesChanged", 1401s # signal_variant, 1401s # NULL); 1401s # } 1401s # g_variant_unref (signal_variant); 1401s # g_list_free_full (connections, g_object_unref); 1401s # } 1401s # else 1401s # { 1401s # g_variant_builder_clear (&builder); 1401s # g_variant_builder_clear (&invalidated_builder); 1401s # } 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # skeleton->priv->changed_properties = NULL; 1401s # skeleton->priv->changed_properties_idle_source = NULL; 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # return FALSE; 1401s # } 1401s # 1401s # static void 1401s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1401s # { 1401s # ChangedProperty *cp; 1401s # GList *l; 1401s # cp = NULL; 1401s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1401s # { 1401s # ChangedProperty *i_cp = l->data; 1401s # if (i_cp->info == info) 1401s # { 1401s # cp = i_cp; 1401s # break; 1401s # } 1401s # } 1401s # if (cp == NULL) 1401s # { 1401s # cp = g_new0 (ChangedProperty, 1); 1401s # cp->prop_id = prop_id; 1401s # cp->info = info; 1401s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1401s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1401s # g_value_copy (orig_value, &cp->orig_value); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_notify (GObject *object, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # if (skeleton->priv->changed_properties != NULL && 1401s # skeleton->priv->changed_properties_idle_source == NULL) 1401s # { 1401s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1401s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1401s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1401s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1401s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1401s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_set_property (GObject *object, 1401s # guint prop_id, 1401s # const GValue *value, 1401s # GParamSpec *pspec) 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1401s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # g_object_freeze_notify (object); 1401s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1401s # { 1401s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1401s # info->emits_changed_signal) 1401s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1401s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1401s # g_object_notify_by_pspec (object, pspec); 1401s # } 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # g_object_thaw_notify (object); 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # skeleton->priv->properties = g_new0 (GValue, 1); 1401s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1401s # } 1401s # 1401s # static GVariant * 1401s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1401s # { 1401s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1401s # GVariant *value; 1401s # g_mutex_lock (&skeleton->priv->lock); 1401s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1401s # g_mutex_unlock (&skeleton->priv->lock); 1401s # return value; 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = good_types_skeleton_finalize; 1401s # gobject_class->get_property = good_types_skeleton_get_property; 1401s # gobject_class->set_property = good_types_skeleton_set_property; 1401s # gobject_class->notify = good_types_skeleton_notify; 1401s # 1401s # 1401s # good_types_override_properties (gobject_class, 1); 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1401s # { 1401s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1401s # } 1401s # 1401s # /** 1401s # * good_types_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1401s # * 1401s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1401s # */ 1401s # GoodTypes * 1401s # good_types_skeleton_new (void) 1401s # { 1401s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1401s # } 1401s ok 3 __main__.TestCodegen.test_empty_interface_body 1401s # tmpdir: /tmp/tmpmckq6dei 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpmckq6dei/tmp80udr8z2.xml: 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmckq6dei/tmp80udr8z2.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s ok 4 __main__.TestCodegen.test_empty_interface_header 1401s # tmpdir: /tmp/tmpqqjvlc5s 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpqqjvlc5s/tmp7t2cky09.xml: 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqqjvlc5s/tmp7t2cky09.xml', '--output', '-', '--header'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifndef __STDOUT__ 1401s # #define __STDOUT__ 1401s # 1401s # #include 1401s # 1401s # G_BEGIN_DECLS 1401s # 1401s # 1401s # G_END_DECLS 1401s # 1401s # #endif /* __STDOUT__ */ 1401s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1401s # tmpdir: /tmp/tmp0ckgclpf 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmp0ckgclpf/tmp4nrkuo4d.xml: 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ckgclpf/tmp4nrkuo4d.xml', '--output', '-', '--interface-info-body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1401s # tmpdir: /tmp/tmpehm4c59n 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpehm4c59n/tmpkyvm7q8d.xml: 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpehm4c59n/tmpkyvm7q8d.xml', '--output', '-', '--interface-info-header'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifndef __STDOUT__ 1401s # #define __STDOUT__ 1401s # 1401s # #include 1401s # 1401s # G_BEGIN_DECLS 1401s # 1401s # 1401s # G_END_DECLS 1401s # 1401s # #endif /* __STDOUT__ */ 1401s ok 7 __main__.TestCodegen.test_generate_docbook 1401s # tmpdir: /tmp/tmpqbjp4xgt 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpqbjp4xgt/tmph_u26_ks.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqbjp4xgt/tmph_u26_ks.xml', '--generate-docbook', 'test'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: 1401s ok 8 __main__.TestCodegen.test_generate_md 1401s # tmpdir: /tmp/tmpwmb_mq6i 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpwmb_mq6i/tmpo9bmjqxy.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmb_mq6i/tmpo9bmjqxy.xml', '--generate-md', 'test'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: 1401s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1401s # tmpdir: /tmp/tmpy4ox2_mo 1401s # codegen: /usr/bin/gdbus-codegen 1401s # /tmp/tmpy4ox2_mo/tmp5h5dc1x0.xml: 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # 1401s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4ox2_mo/tmp5h5dc1x0.xml', '--output', '-', '--body'] 1401s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1401s # Output: /* 1401s # * This file is generated by gdbus-codegen, do not modify it. 1401s # * 1401s # * The license of this code is the same as for the D-Bus interface description 1401s # * it was derived from. Note that it links to GLib, so must comply with the 1401s # * LGPL linking clauses. 1401s # */ 1401s # 1401s # #ifdef HAVE_CONFIG_H 1401s # # include "config.h" 1401s # #endif 1401s # 1401s # #include 1401s # #ifdef G_OS_UNIX 1401s # # include 1401s # #endif 1401s # 1401s # #ifdef G_ENABLE_DEBUG 1401s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1401s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1401s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1401s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1401s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1401s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1401s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1401s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1401s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1401s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1401s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1401s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1401s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1401s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1401s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1401s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1401s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1401s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1401s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1401s # #else /* !G_ENABLE_DEBUG */ 1401s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1401s # * Do not access GValues directly in your code. Instead, use the 1401s # * g_value_get_*() functions 1401s # */ 1401s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1401s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1401s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1401s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1401s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1401s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1401s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1401s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1401s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1401s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1401s # #endif /* !G_ENABLE_DEBUG */ 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusArgInfo parent_struct; 1401s # gboolean use_gvariant; 1401s # } _ExtendedGDBusArgInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusMethodInfo parent_struct; 1401s # const gchar *signal_name; 1401s # gboolean pass_fdlist; 1401s # } _ExtendedGDBusMethodInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusSignalInfo parent_struct; 1401s # const gchar *signal_name; 1401s # } _ExtendedGDBusSignalInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusPropertyInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # guint use_gvariant : 1; 1401s # guint emits_changed_signal : 1; 1401s # } _ExtendedGDBusPropertyInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # GDBusInterfaceInfo parent_struct; 1401s # const gchar *hyphen_name; 1401s # } _ExtendedGDBusInterfaceInfo; 1401s # 1401s # typedef struct 1401s # { 1401s # const _ExtendedGDBusPropertyInfo *info; 1401s # guint prop_id; 1401s # GValue orig_value; /* the value before the change */ 1401s # } ChangedProperty; 1401s # 1401s # static void 1401s # _changed_property_free (ChangedProperty *data) 1401s # { 1401s # g_value_unset (&data->orig_value); 1401s # g_free (data); 1401s # } 1401s # 1401s # static gboolean 1401s # _g_strv_equal0 (gchar **a, gchar **b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # guint n; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # if (g_strv_length (a) != g_strv_length (b)) 1401s # goto out; 1401s # for (n = 0; a[n] != NULL; n++) 1401s # if (g_strcmp0 (a[n], b[n]) != 0) 1401s # goto out; 1401s # ret = TRUE; 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _g_variant_equal0 (GVariant *a, GVariant *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # if (a == NULL && b == NULL) 1401s # { 1401s # ret = TRUE; 1401s # goto out; 1401s # } 1401s # if (a == NULL || b == NULL) 1401s # goto out; 1401s # ret = g_variant_equal (a, b); 1401s # out: 1401s # return ret; 1401s # } 1401s # 1401s # G_GNUC_UNUSED static gboolean 1401s # _g_value_equal (const GValue *a, const GValue *b) 1401s # { 1401s # gboolean ret = FALSE; 1401s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1401s # switch (G_VALUE_TYPE (a)) 1401s # { 1401s # case G_TYPE_BOOLEAN: 1401s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1401s # break; 1401s # case G_TYPE_UCHAR: 1401s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1401s # break; 1401s # case G_TYPE_INT: 1401s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1401s # break; 1401s # case G_TYPE_UINT: 1401s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1401s # break; 1401s # case G_TYPE_INT64: 1401s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1401s # break; 1401s # case G_TYPE_UINT64: 1401s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1401s # break; 1401s # case G_TYPE_DOUBLE: 1401s # { 1401s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1401s # gdouble da = g_value_get_double (a); 1401s # gdouble db = g_value_get_double (b); 1401s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1401s # } 1401s # break; 1401s # case G_TYPE_STRING: 1401s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1401s # break; 1401s # case G_TYPE_VARIANT: 1401s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1401s # break; 1401s # default: 1401s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1401s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1401s # else 1401s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1401s # break; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static void 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint G_GNUC_UNUSED, 1401s # void *marshal_data) 1401s # { 1401s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (void *data1, 1401s # GDBusMethodInvocation *arg_method_invocation, 1401s # void *data2); 1401s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1401s # GCClosure *cc = (GCClosure*) closure; 1401s # void *data1, *data2; 1401s # gboolean v_return; 1401s # 1401s # g_return_if_fail (return_value != NULL); 1401s # g_return_if_fail (n_param_values == 2); 1401s # 1401s # if (G_CCLOSURE_SWAP_DATA (closure)) 1401s # { 1401s # data1 = closure->data; 1401s # data2 = g_value_peek_pointer (param_values + 0); 1401s # } 1401s # else 1401s # { 1401s # data1 = g_value_peek_pointer (param_values + 0); 1401s # data2 = closure->data; 1401s # } 1401s # 1401s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1401s # (marshal_data ? marshal_data : cc->callback); 1401s # 1401s # v_return = 1401s # callback (data1, 1401s # g_marshal_value_peek_object (param_values + 1), 1401s # data2); 1401s # 1401s # g_value_set_boolean (return_value, v_return); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.CallableIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectCallableIface 1401s # * @title: OrgProjectCallableIface 1401s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.CallableIface ---- */ 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SimpleMethod", 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "handle-simple-method", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1401s # { 1401s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.CallableIface", 1401s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-callable-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_callable_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_callable_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_callable_iface_method_marshal_simple_method ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectCallableIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.CallableIface. 1401s # */ 1401s # 1401s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectCallableIface::handle-simple-method: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-simple-method", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_callable_iface_method_marshal_simple_method, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_simple_method: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_callable_iface_call_simple_method ( 1401s # OrgProjectCallableIface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SimpleMethod", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_simple_method_finish: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_simple_method_finish ( 1401s # OrgProjectCallableIface *proxy, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_call_simple_method_sync: 1401s # * @proxy: A #OrgProjectCallableIfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_callable_iface_call_simple_method_sync ( 1401s # OrgProjectCallableIface *proxy, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SimpleMethod", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_complete_simple_method: 1401s # * @object: A #OrgProjectCallableIface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_callable_iface_complete_simple_method ( 1401s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("()")); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceProxy: 1401s # * 1401s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectCallableIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectCallableIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_callable_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_callable_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_callable_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectCallableIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectCallableIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_callable_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_callable_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_callable_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1401s # { 1401s # _org_project_callable_iface_skeleton_handle_method_call, 1401s # _org_project_callable_iface_skeleton_handle_get_property, 1401s # _org_project_callable_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_callable_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_callable_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_callable_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectCallableIface * 1401s # org_project_callable_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ 1401s # * Code for interface org.project.OtherCallableIface 1401s # * ------------------------------------------------------------------------ 1401s # */ 1401s # 1401s # /** 1401s # * SECTION:OrgProjectOtherCallableIface 1401s # * @title: OrgProjectOtherCallableIface 1401s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1401s # * 1401s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1401s # */ 1401s # 1401s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1401s # 1401s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "SimpleMethod", 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "handle-simple-method", 1401s # FALSE 1401s # }; 1401s # 1401s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1401s # { 1401s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1401s # NULL 1401s # }; 1401s # 1401s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1401s # { 1401s # { 1401s # -1, 1401s # (gchar *) "org.project.OtherCallableIface", 1401s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1401s # NULL, 1401s # NULL, 1401s # NULL 1401s # }, 1401s # "org-project-other-callable-iface", 1401s # }; 1401s # 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_interface_info: 1401s # * 1401s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1401s # * 1401s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1401s # */ 1401s # GDBusInterfaceInfo * 1401s # org_project_other_callable_iface_interface_info (void) 1401s # { 1401s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_override_properties: 1401s # * @klass: The class structure for a #GObject derived class. 1401s # * @property_id_begin: The property id to assign to the first overridden property. 1401s # * 1401s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1401s # * The properties are overridden in the order they are defined. 1401s # * 1401s # * Returns: The last property id. 1401s # */ 1401s # guint 1401s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1401s # { 1401s # return property_id_begin - 1; 1401s # } 1401s # 1401s # 1401s # inline static void 1401s # org_project_other_callable_iface_method_marshal_simple_method ( 1401s # GClosure *closure, 1401s # GValue *return_value, 1401s # unsigned int n_param_values, 1401s # const GValue *param_values, 1401s # void *invocation_hint, 1401s # void *marshal_data) 1401s # { 1401s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1401s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1401s # } 1401s # 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIface: 1401s # * 1401s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceIface: 1401s # * @parent_iface: The parent interface. 1401s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1401s # * 1401s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1401s # */ 1401s # 1401s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1401s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1401s # 1401s # static void 1401s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1401s # { 1401s # /* GObject signals for incoming D-Bus method calls: */ 1401s # /** 1401s # * OrgProjectOtherCallableIface::handle-simple-method: 1401s # * @object: A #OrgProjectOtherCallableIface. 1401s # * @invocation: A #GDBusMethodInvocation. 1401s # * 1401s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1401s # * 1401s # * 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. 1401s # * 1401s # * 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. 1401s # */ 1401s # g_signal_new ("handle-simple-method", 1401s # G_TYPE_FROM_INTERFACE (iface), 1401s # G_SIGNAL_RUN_LAST, 1401s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1401s # g_signal_accumulator_true_handled, 1401s # NULL, 1401s # org_project_other_callable_iface_method_marshal_simple_method, 1401s # G_TYPE_BOOLEAN, 1401s # 1, 1401s # G_TYPE_DBUS_METHOD_INVOCATION); 1401s # 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_call_simple_method: 1401s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_call_simple_method ( 1401s # OrgProjectOtherCallableIface *proxy, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1401s # "SimpleMethod", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # callback, 1401s # user_data); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_call_simple_method_finish: 1401s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_other_callable_iface_call_simple_method_finish ( 1401s # OrgProjectOtherCallableIface *proxy, 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_call_simple_method_sync: 1401s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL. 1401s # * 1401s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1401s # * 1401s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1401s # */ 1401s # gboolean 1401s # org_project_other_callable_iface_call_simple_method_sync ( 1401s # OrgProjectOtherCallableIface *proxy, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GVariant *_ret; 1401s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1401s # "SimpleMethod", 1401s # g_variant_new ("()"), 1401s # G_DBUS_CALL_FLAGS_NONE, 1401s # -1, 1401s # cancellable, 1401s # error); 1401s # if (_ret == NULL) 1401s # goto _out; 1401s # g_variant_get (_ret, 1401s # "()"); 1401s # g_variant_unref (_ret); 1401s # _out: 1401s # return _ret != NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_complete_simple_method: 1401s # * @object: A #OrgProjectOtherCallableIface. 1401s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1401s # * 1401s # * 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. 1401s # * 1401s # * This method will free @invocation, you cannot use it afterwards. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_complete_simple_method ( 1401s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1401s # GDBusMethodInvocation *invocation) 1401s # { 1401s # g_dbus_method_invocation_return_value (invocation, 1401s # g_variant_new ("()")); 1401s # } 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceProxy: 1401s # * 1401s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceProxyClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1401s # { 1401s # GData *qdata; 1401s # }; 1401s # 1401s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1401s # g_datalist_clear (&proxy->priv->qdata); 1401s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1401s # guint prop_id G_GNUC_UNUSED, 1401s # const GValue *value G_GNUC_UNUSED, 1401s # GParamSpec *pspec G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1401s # const gchar *sender_name G_GNUC_UNUSED, 1401s # const gchar *signal_name, 1401s # GVariant *parameters) 1401s # { 1401s # _ExtendedGDBusSignalInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # gsize n; 1401s # guint signal_id; 1401s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1401s # if (info == NULL) 1401s # return; 1401s # num_params = g_variant_n_children (parameters); 1401s # paramv = g_new0 (GValue, num_params + 1); 1401s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[0], proxy); 1401s # g_variant_iter_init (&iter, parameters); 1401s # n = 1; 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_signal_emitv (paramv, signal_id, 0, NULL); 1401s # for (n = 0; n < num_params + 1; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1401s # GVariant *changed_properties, 1401s # const gchar *const *invalidated_properties) 1401s # { 1401s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1401s # guint n; 1401s # const gchar *key; 1401s # GVariantIter *iter; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # g_variant_get (changed_properties, "a{sv}", &iter); 1401s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1401s # g_datalist_remove_data (&proxy->priv->qdata, key); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # g_variant_iter_free (iter); 1401s # for (n = 0; invalidated_properties[n] != NULL; n++) 1401s # { 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1401s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1401s # if (info != NULL) 1401s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1401s # } 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1401s # #else 1401s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1401s # #endif 1401s # 1401s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusProxyClass *proxy_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1401s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1401s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1401s # 1401s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1401s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1401s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_proxy_new ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_sync: 1401s # * @connection: A #GDBusConnection. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_sync ( 1401s # GDBusConnection *connection, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_for_bus: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1401s # * @user_data: User data to pass to @callback. 1401s # * 1401s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1401s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1401s # */ 1401s # void 1401s # org_project_other_callable_iface_proxy_new_for_bus ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GAsyncReadyCallback callback, 1401s # gpointer user_data) 1401s # { 1401s # 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); 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1401s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1401s # GAsyncResult *res, 1401s # GError **error) 1401s # { 1401s # GObject *ret; 1401s # GObject *source_object; 1401s # source_object = g_async_result_get_source_object (res); 1401s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1401s # g_object_unref (source_object); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1401s # * @bus_type: A #GBusType. 1401s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1401s # * @name: A bus name (well-known or unique). 1401s # * @object_path: An object path. 1401s # * @cancellable: (nullable): A #GCancellable or %NULL. 1401s # * @error: Return location for error or %NULL 1401s # * 1401s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1401s # * 1401s # * The calling thread is blocked until a reply is received. 1401s # * 1401s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1401s # GBusType bus_type, 1401s # GDBusProxyFlags flags, 1401s # const gchar *name, 1401s # const gchar *object_path, 1401s # GCancellable *cancellable, 1401s # GError **error) 1401s # { 1401s # GInitable *ret; 1401s # 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); 1401s # if (ret != NULL) 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1401s # else 1401s # return NULL; 1401s # } 1401s # 1401s # 1401s # /* ------------------------------------------------------------------------ */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceSkeleton: 1401s # * 1401s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1401s # */ 1401s # 1401s # /** 1401s # * OrgProjectOtherCallableIfaceSkeletonClass: 1401s # * @parent_class: The parent class. 1401s # * 1401s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1401s # */ 1401s # 1401s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1401s # { 1401s # GValue *properties; 1401s # GList *changed_properties; 1401s # GSource *changed_properties_idle_source; 1401s # GMainContext *context; 1401s # GMutex lock; 1401s # }; 1401s # 1401s # static void 1401s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name, 1401s # const gchar *method_name, 1401s # GVariant *parameters, 1401s # GDBusMethodInvocation *invocation, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1401s # _ExtendedGDBusMethodInfo *info; 1401s # GVariantIter iter; 1401s # GVariant *child; 1401s # GValue *paramv; 1401s # gsize num_params; 1401s # guint num_extra; 1401s # gsize n; 1401s # guint signal_id; 1401s # GValue return_value = G_VALUE_INIT; 1401s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1401s # g_assert (info != NULL); 1401s # num_params = g_variant_n_children (parameters); 1401s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1401s # n = 0; 1401s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_value_set_object (¶mv[n++], skeleton); 1401s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1401s # g_value_set_object (¶mv[n++], invocation); 1401s # if (info->pass_fdlist) 1401s # { 1401s # #ifdef G_OS_UNIX 1401s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1401s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1401s # #else 1401s # g_assert_not_reached (); 1401s # #endif 1401s # } 1401s # g_variant_iter_init (&iter, parameters); 1401s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1401s # { 1401s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1401s # if (arg_info->use_gvariant) 1401s # { 1401s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1401s # g_value_set_variant (¶mv[n], child); 1401s # n++; 1401s # } 1401s # else 1401s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1401s # g_variant_unref (child); 1401s # } 1401s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1401s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1401s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1401s # if (!g_value_get_boolean (&return_value)) 1401s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1401s # g_value_unset (&return_value); 1401s # for (n = 0; n < num_params + num_extra; n++) 1401s # g_value_unset (¶mv[n]); 1401s # g_free (paramv); 1401s # } 1401s # 1401s # static GVariant * 1401s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # GVariant *ret; 1401s # ret = NULL; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # g_value_init (&value, pspec->value_type); 1401s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1401s # g_value_unset (&value); 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static gboolean 1401s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1401s # GDBusConnection *connection G_GNUC_UNUSED, 1401s # const gchar *sender G_GNUC_UNUSED, 1401s # const gchar *object_path G_GNUC_UNUSED, 1401s # const gchar *interface_name G_GNUC_UNUSED, 1401s # const gchar *property_name, 1401s # GVariant *variant, 1401s # GError **error, 1401s # gpointer user_data) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1401s # GValue value = G_VALUE_INIT; 1401s # GParamSpec *pspec; 1401s # _ExtendedGDBusPropertyInfo *info; 1401s # gboolean ret; 1401s # ret = FALSE; 1401s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1401s # g_assert (info != NULL); 1401s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1401s # if (pspec == NULL) 1401s # { 1401s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1401s # } 1401s # else 1401s # { 1401s # if (info->use_gvariant) 1401s # g_value_set_variant (&value, variant); 1401s # else 1401s # g_dbus_gvariant_to_gvalue (variant, &value); 1401s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1401s # g_value_unset (&value); 1401s # ret = TRUE; 1401s # } 1401s # return ret; 1401s # } 1401s # 1401s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1401s # { 1401s # _org_project_other_callable_iface_skeleton_handle_method_call, 1401s # _org_project_other_callable_iface_skeleton_handle_get_property, 1401s # _org_project_other_callable_iface_skeleton_handle_set_property, 1401s # {NULL} 1401s # }; 1401s # 1401s # static GDBusInterfaceInfo * 1401s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return org_project_other_callable_iface_interface_info (); 1401s # } 1401s # 1401s # static GDBusInterfaceVTable * 1401s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1401s # { 1401s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1401s # } 1401s # 1401s # static GVariant * 1401s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1401s # 1401s # GVariantBuilder builder; 1401s # guint n; 1401s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1401s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1401s # goto out; 1401s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1401s # { 1401s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1401s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1401s # { 1401s # GVariant *value; 1401s # 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); 1401s # if (value != NULL) 1401s # { 1401s # g_variant_take_ref (value); 1401s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1401s # g_variant_unref (value); 1401s # } 1401s # } 1401s # } 1401s # out: 1401s # return g_variant_builder_end (&builder); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1401s # 1401s # #else 1401s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1401s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1401s # 1401s # #endif 1401s # static void 1401s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1401s # { 1401s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1401s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1401s # if (skeleton->priv->changed_properties_idle_source != NULL) 1401s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1401s # g_main_context_unref (skeleton->priv->context); 1401s # g_mutex_clear (&skeleton->priv->lock); 1401s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1401s # { 1401s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1401s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1401s # #else 1401s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1401s # #endif 1401s # 1401s # g_mutex_init (&skeleton->priv->lock); 1401s # skeleton->priv->context = g_main_context_ref_thread_default (); 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1401s # { 1401s # GObjectClass *gobject_class; 1401s # GDBusInterfaceSkeletonClass *skeleton_class; 1401s # 1401s # gobject_class = G_OBJECT_CLASS (klass); 1401s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1401s # 1401s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1401s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1401s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1401s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1401s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1401s # 1401s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1401s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1401s # #endif 1401s # } 1401s # 1401s # static void 1401s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1401s # { 1401s # } 1401s # 1401s # /** 1401s # * org_project_other_callable_iface_skeleton_new: 1401s # * 1401s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1401s # * 1401s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1401s # */ 1401s # OrgProjectOtherCallableIface * 1401s # org_project_other_callable_iface_skeleton_new (void) 1401s # { 1401s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1401s # } 1402s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1402s # tmpdir: /tmp/tmp1lxy4hga 1402s # codegen: /usr/bin/gdbus-codegen 1402s # /tmp/tmp1lxy4hga/tmpjzjeor3b.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpjzjeor3b.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # gboolean arg_arg_b, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_boolean (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_b", 1402s # (gchar *) "b", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodB", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-b", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_b: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-b", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_b, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_b: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_b: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_b ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gboolean arg_arg_b, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodB", 1402s # g_variant_new ("(b)", 1402s # arg_arg_b), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_b_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_b_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_b_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_b: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_b_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gboolean arg_arg_b, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodB", 1402s # g_variant_new ("(b)", 1402s # arg_arg_b), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_b: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_b ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmp11qcjrx3.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmp11qcjrx3.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # guchar arg_arg_y, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_uchar (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_y", 1402s # (gchar *) "y", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodY", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-y", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_y: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-y", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_y, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_y: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_y: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_y ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guchar arg_arg_y, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodY", 1402s # g_variant_new ("(y)", 1402s # arg_arg_y), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_y_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_y_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_y_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_y: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_y_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guchar arg_arg_y, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodY", 1402s # g_variant_new ("(y)", 1402s # arg_arg_y), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_y: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_y ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpojujqvve.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpojujqvve.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # gint16 arg_arg_n, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_int (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_n", 1402s # (gchar *) "n", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodN", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-n", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_n: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-n", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_n, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_n: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_n: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_n ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gint16 arg_arg_n, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodN", 1402s # g_variant_new ("(n)", 1402s # arg_arg_n), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_n_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_n_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_n_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_n: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_n_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gint16 arg_arg_n, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodN", 1402s # g_variant_new ("(n)", 1402s # arg_arg_n), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_n: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_n ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpiu5afu7r.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpiu5afu7r.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # guint16 arg_arg_q, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_uint (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_q", 1402s # (gchar *) "q", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodQ", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-q", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_q: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-q", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_q, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_q: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_q: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_q ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guint16 arg_arg_q, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodQ", 1402s # g_variant_new ("(q)", 1402s # arg_arg_q), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_q_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_q_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_q_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_q: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_q_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guint16 arg_arg_q, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodQ", 1402s # g_variant_new ("(q)", 1402s # arg_arg_q), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_q: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_q ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmppxfw48rz.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmppxfw48rz.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # gint arg_arg_i, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_int (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_i", 1402s # (gchar *) "i", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodI", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-i", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_i: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-i", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_i, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_i: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_i: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_i ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gint arg_arg_i, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodI", 1402s # g_variant_new ("(i)", 1402s # arg_arg_i), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_i_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_i_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_i_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_i: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_i_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gint arg_arg_i, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodI", 1402s # g_variant_new ("(i)", 1402s # arg_arg_i), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_i: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_i ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmp4ufhcufe.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmp4ufhcufe.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # guint arg_arg_u, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_uint (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_u", 1402s # (gchar *) "u", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodU", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-u", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_u: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-u", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_u, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_u: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_u: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_u ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guint arg_arg_u, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodU", 1402s # g_variant_new ("(u)", 1402s # arg_arg_u), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_u_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_u_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_u_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_u: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_u_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guint arg_arg_u, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodU", 1402s # g_variant_new ("(u)", 1402s # arg_arg_u), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_u: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_u ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpxcd4hyc_.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpxcd4hyc_.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # gint64 arg_arg_x, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_int64 (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_x", 1402s # (gchar *) "x", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodX", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-x", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_x: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-x", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_x, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_x: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_x: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_x ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gint64 arg_arg_x, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodX", 1402s # g_variant_new ("(x)", 1402s # arg_arg_x), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_x_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_x_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_x_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_x: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_x_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gint64 arg_arg_x, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodX", 1402s # g_variant_new ("(x)", 1402s # arg_arg_x), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_x: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_x ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmp3bx5521m.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmp3bx5521m.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # guint64 arg_arg_t, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_uint64 (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_t", 1402s # (gchar *) "t", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodT", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-t", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_t: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-t", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_t, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_t: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_t: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_t ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guint64 arg_arg_t, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodT", 1402s # g_variant_new ("(t)", 1402s # arg_arg_t), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_t_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_t_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_t_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_t: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_t_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # guint64 arg_arg_t, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodT", 1402s # g_variant_new ("(t)", 1402s # arg_arg_t), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_t: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_t ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpnzmd25zu.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpnzmd25zu.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # gdouble arg_arg_d, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_double (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_d", 1402s # (gchar *) "d", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodD", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-d", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_d: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-d", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_d, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_d: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_d: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_d ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gdouble arg_arg_d, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodD", 1402s # g_variant_new ("(d)", 1402s # arg_arg_d), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_d_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_d_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_d_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_d: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_d_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gdouble arg_arg_d, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodD", 1402s # g_variant_new ("(d)", 1402s # arg_arg_d), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_d: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_d ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmp2fdj862n.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmp2fdj862n.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *arg_arg_s, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_string (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_s", 1402s # (gchar *) "s", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodS", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-s", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_s: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-s", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_s, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_s: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_s: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_s ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_s, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodS", 1402s # g_variant_new ("(s)", 1402s # arg_arg_s), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_s_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_s_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_s_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_s: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_s_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_s, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodS", 1402s # g_variant_new ("(s)", 1402s # arg_arg_s), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_s: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_s ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpvjaw_4ds.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpvjaw_4ds.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *arg_arg_o, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_string (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_o", 1402s # (gchar *) "o", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodO", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-o", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_o: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-o", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_o, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_o: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_o: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_o ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_o, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodO", 1402s # g_variant_new ("(o)", 1402s # arg_arg_o), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_o_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_o_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_o_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_o: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_o_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_o, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodO", 1402s # g_variant_new ("(o)", 1402s # arg_arg_o), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_o: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_o ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpnla347ux.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpnla347ux.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *arg_arg_g, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_string (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_g", 1402s # (gchar *) "g", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodG", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-g", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_g: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-g", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_g, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_g: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_g: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_g ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_g, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodG", 1402s # g_variant_new ("(g)", 1402s # arg_arg_g), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_g_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_g_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_g_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_g: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_g_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_g, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodG", 1402s # g_variant_new ("(g)", 1402s # arg_arg_g), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_g: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_g ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpz0osx5_v.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpz0osx5_v.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # GVariant *arg_arg_h, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_variant (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_h", 1402s # (gchar *) "h", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodH", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-h", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_h: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-h", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_h, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_h: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_h: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_h ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GVariant *arg_arg_h, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodH", 1402s # g_variant_new ("(@h)", 1402s # arg_arg_h), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_h_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_h_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_h_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_h: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_h_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GVariant *arg_arg_h, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodH", 1402s # g_variant_new ("(@h)", 1402s # arg_arg_h), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_h: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_h ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpem3i76wr.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpem3i76wr.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *arg_arg_ay, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_string (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_ay", 1402s # (gchar *) "ay", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodAy", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-ay", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_ay: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-ay", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_ay: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_ay: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_ay ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_ay, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAy", 1402s # g_variant_new ("(^ay)", 1402s # arg_arg_ay), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_ay: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *arg_arg_ay, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAy", 1402s # g_variant_new ("(^ay)", 1402s # arg_arg_ay), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_ay: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_ay ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpjr4iz1q5.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpjr4iz1q5.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *const *arg_arg_as, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_boxed (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_as", 1402s # (gchar *) "as", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodAs", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-as", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_as: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-as", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_as, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_as: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_as: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_as ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *const *arg_arg_as, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAs", 1402s # g_variant_new ("(^as)", 1402s # arg_arg_as), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_as_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_as_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_as_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_as: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_as_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *const *arg_arg_as, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAs", 1402s # g_variant_new ("(^as)", 1402s # arg_arg_as), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_as: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_as ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmphzfvkxil.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmphzfvkxil.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *const *arg_arg_ao, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_boxed (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_ao", 1402s # (gchar *) "ao", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodAo", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-ao", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_ao: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-ao", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_ao: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_ao: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_ao ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *const *arg_arg_ao, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAo", 1402s # g_variant_new ("(^ao)", 1402s # arg_arg_ao), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_ao: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *const *arg_arg_ao, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAo", 1402s # g_variant_new ("(^ao)", 1402s # arg_arg_ao), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_ao: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_ao ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmplb0hfpze.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmplb0hfpze.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # const gchar *const *arg_arg_aay, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_boxed (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_aay", 1402s # (gchar *) "aay", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodAay", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-aay", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_aay: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-aay", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_aay: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_aay: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_aay ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *const *arg_arg_aay, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAay", 1402s # g_variant_new ("(^aay)", 1402s # arg_arg_aay), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_aay: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # const gchar *const *arg_arg_aay, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAay", 1402s # g_variant_new ("(^aay)", 1402s # arg_arg_aay), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_aay: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_aay ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp1lxy4hga/tmpcce5c71g.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lxy4hga/tmpcce5c71g.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # GVariant *arg_arg_asv, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 3); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # g_marshal_value_peek_variant (param_values + 2), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_asv", 1402s # (gchar *) "a{sv}", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodAsv", 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-asv", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * @arg_arg_asv: Argument passed by remote caller. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-asv", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1402s # G_TYPE_BOOLEAN, 1402s # 2, 1402s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_asv: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_asv: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_asv ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GVariant *arg_arg_asv, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAsv", 1402s # g_variant_new ("(@a{sv})", 1402s # arg_arg_asv), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @arg_arg_asv: Argument to pass with the method invocation. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GVariant *arg_arg_asv, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodAsv", 1402s # g_variant_new ("(@a{sv})", 1402s # arg_arg_asv), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "()"); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_asv: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_asv ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("()")); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1402s # tmpdir: /tmp/tmp3rxow59e 1402s # codegen: /usr/bin/gdbus-codegen 1402s # /tmp/tmp3rxow59e/tmpvtr7qlp5.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpvtr7qlp5.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 2); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_b", 1402s # (gchar *) "b", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodB", 1402s # NULL, 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-b", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-b", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_b, 1402s # G_TYPE_BOOLEAN, 1402s # 1, 1402s # G_TYPE_DBUS_METHOD_INVOCATION); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_b: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_b ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodB", 1402s # g_variant_new ("()"), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_b_finish: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_b_finish ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gboolean *out_arg_b, 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "(b)", 1402s # out_arg_b); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_b_sync: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL. 1402s # * 1402s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1402s # * 1402s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1402s # */ 1402s # gboolean 1402s # org_project_useful_interface_call_single_arg_method_b_sync ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # gboolean *out_arg_b, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GVariant *_ret; 1402s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodB", 1402s # g_variant_new ("()"), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # error); 1402s # if (_ret == NULL) 1402s # goto _out; 1402s # g_variant_get (_ret, 1402s # "(b)", 1402s # out_arg_b); 1402s # g_variant_unref (_ret); 1402s # _out: 1402s # return _ret != NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_complete_single_arg_method_b: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1402s # * @arg_b: Parameter to return. 1402s # * 1402s # * 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. 1402s # * 1402s # * This method will free @invocation, you cannot use it afterwards. 1402s # */ 1402s # void 1402s # org_project_useful_interface_complete_single_arg_method_b ( 1402s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1402s # GDBusMethodInvocation *invocation, 1402s # gboolean arg_b) 1402s # { 1402s # g_dbus_method_invocation_return_value (invocation, 1402s # g_variant_new ("(b)", 1402s # arg_b)); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxy: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceProxyClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceProxyPrivate 1402s # { 1402s # GData *qdata; 1402s # }; 1402s # 1402s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_proxy_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1402s # g_datalist_clear (&proxy->priv->qdata); 1402s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1402s # guint prop_id G_GNUC_UNUSED, 1402s # const GValue *value G_GNUC_UNUSED, 1402s # GParamSpec *pspec G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1402s # const gchar *sender_name G_GNUC_UNUSED, 1402s # const gchar *signal_name, 1402s # GVariant *parameters) 1402s # { 1402s # _ExtendedGDBusSignalInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # gsize n; 1402s # guint signal_id; 1402s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1402s # if (info == NULL) 1402s # return; 1402s # num_params = g_variant_n_children (parameters); 1402s # paramv = g_new0 (GValue, num_params + 1); 1402s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[0], proxy); 1402s # g_variant_iter_init (&iter, parameters); 1402s # n = 1; 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_signal_emitv (paramv, signal_id, 0, NULL); 1402s # for (n = 0; n < num_params + 1; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1402s # GVariant *changed_properties, 1402s # const gchar *const *invalidated_properties) 1402s # { 1402s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1402s # guint n; 1402s # const gchar *key; 1402s # GVariantIter *iter; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # g_variant_get (changed_properties, "a{sv}", &iter); 1402s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1402s # g_datalist_remove_data (&proxy->priv->qdata, key); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # g_variant_iter_free (iter); 1402s # for (n = 0; invalidated_properties[n] != NULL; n++) 1402s # { 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1402s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1402s # if (info != NULL) 1402s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1402s # } 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1402s # #else 1402s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1402s # #endif 1402s # 1402s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusProxyClass *proxy_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1402s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1402s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1402s # 1402s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1402s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1402s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_sync: 1402s # * @connection: A #GDBusConnection. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_sync ( 1402s # GDBusConnection *connection, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1402s # */ 1402s # void 1402s # org_project_useful_interface_proxy_new_for_bus ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_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); 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_finish: 1402s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_finish ( 1402s # GAsyncResult *res, 1402s # GError **error) 1402s # { 1402s # GObject *ret; 1402s # GObject *source_object; 1402s # source_object = g_async_result_get_source_object (res); 1402s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1402s # g_object_unref (source_object); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_proxy_new_for_bus_sync: 1402s # * @bus_type: A #GBusType. 1402s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1402s # * @name: A bus name (well-known or unique). 1402s # * @object_path: An object path. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @error: Return location for error or %NULL 1402s # * 1402s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1402s # * 1402s # * The calling thread is blocked until a reply is received. 1402s # * 1402s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_proxy_new_for_bus_sync ( 1402s # GBusType bus_type, 1402s # GDBusProxyFlags flags, 1402s # const gchar *name, 1402s # const gchar *object_path, 1402s # GCancellable *cancellable, 1402s # GError **error) 1402s # { 1402s # GInitable *ret; 1402s # 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); 1402s # if (ret != NULL) 1402s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1402s # else 1402s # return NULL; 1402s # } 1402s # 1402s # 1402s # /* ------------------------------------------------------------------------ */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeleton: 1402s # * 1402s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceSkeletonClass: 1402s # * @parent_class: The parent class. 1402s # * 1402s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1402s # */ 1402s # 1402s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1402s # { 1402s # GValue *properties; 1402s # GList *changed_properties; 1402s # GSource *changed_properties_idle_source; 1402s # GMainContext *context; 1402s # GMutex lock; 1402s # }; 1402s # 1402s # static void 1402s # _org_project_useful_interface_skeleton_handle_method_call ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name, 1402s # const gchar *method_name, 1402s # GVariant *parameters, 1402s # GDBusMethodInvocation *invocation, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # _ExtendedGDBusMethodInfo *info; 1402s # GVariantIter iter; 1402s # GVariant *child; 1402s # GValue *paramv; 1402s # gsize num_params; 1402s # guint num_extra; 1402s # gsize n; 1402s # guint signal_id; 1402s # GValue return_value = G_VALUE_INIT; 1402s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1402s # g_assert (info != NULL); 1402s # num_params = g_variant_n_children (parameters); 1402s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1402s # n = 0; 1402s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_set_object (¶mv[n++], skeleton); 1402s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1402s # g_value_set_object (¶mv[n++], invocation); 1402s # if (info->pass_fdlist) 1402s # { 1402s # #ifdef G_OS_UNIX 1402s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1402s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1402s # #else 1402s # g_assert_not_reached (); 1402s # #endif 1402s # } 1402s # g_variant_iter_init (&iter, parameters); 1402s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1402s # { 1402s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1402s # if (arg_info->use_gvariant) 1402s # { 1402s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1402s # g_value_set_variant (¶mv[n], child); 1402s # n++; 1402s # } 1402s # else 1402s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1402s # g_variant_unref (child); 1402s # } 1402s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1402s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1402s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1402s # if (!g_value_get_boolean (&return_value)) 1402s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1402s # g_value_unset (&return_value); 1402s # for (n = 0; n < num_params + num_extra; n++) 1402s # g_value_unset (¶mv[n]); 1402s # g_free (paramv); 1402s # } 1402s # 1402s # static GVariant * 1402s # _org_project_useful_interface_skeleton_handle_get_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # GVariant *ret; 1402s # ret = NULL; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # g_value_init (&value, pspec->value_type); 1402s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1402s # g_value_unset (&value); 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _org_project_useful_interface_skeleton_handle_set_property ( 1402s # GDBusConnection *connection G_GNUC_UNUSED, 1402s # const gchar *sender G_GNUC_UNUSED, 1402s # const gchar *object_path G_GNUC_UNUSED, 1402s # const gchar *interface_name G_GNUC_UNUSED, 1402s # const gchar *property_name, 1402s # GVariant *variant, 1402s # GError **error, 1402s # gpointer user_data) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1402s # GValue value = G_VALUE_INIT; 1402s # GParamSpec *pspec; 1402s # _ExtendedGDBusPropertyInfo *info; 1402s # gboolean ret; 1402s # ret = FALSE; 1402s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1402s # g_assert (info != NULL); 1402s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1402s # if (pspec == NULL) 1402s # { 1402s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1402s # } 1402s # else 1402s # { 1402s # if (info->use_gvariant) 1402s # g_value_set_variant (&value, variant); 1402s # else 1402s # g_dbus_gvariant_to_gvalue (variant, &value); 1402s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1402s # g_value_unset (&value); 1402s # ret = TRUE; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1402s # { 1402s # _org_project_useful_interface_skeleton_handle_method_call, 1402s # _org_project_useful_interface_skeleton_handle_get_property, 1402s # _org_project_useful_interface_skeleton_handle_set_property, 1402s # {NULL} 1402s # }; 1402s # 1402s # static GDBusInterfaceInfo * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return org_project_useful_interface_interface_info (); 1402s # } 1402s # 1402s # static GDBusInterfaceVTable * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1402s # { 1402s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1402s # } 1402s # 1402s # static GVariant * 1402s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1402s # 1402s # GVariantBuilder builder; 1402s # guint n; 1402s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1402s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1402s # goto out; 1402s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1402s # { 1402s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1402s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1402s # { 1402s # GVariant *value; 1402s # 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); 1402s # if (value != NULL) 1402s # { 1402s # g_variant_take_ref (value); 1402s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1402s # g_variant_unref (value); 1402s # } 1402s # } 1402s # } 1402s # out: 1402s # return g_variant_builder_end (&builder); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #else 1402s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1402s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1402s # 1402s # #endif 1402s # static void 1402s # org_project_useful_interface_skeleton_finalize (GObject *object) 1402s # { 1402s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1402s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1402s # if (skeleton->priv->changed_properties_idle_source != NULL) 1402s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1402s # g_main_context_unref (skeleton->priv->context); 1402s # g_mutex_clear (&skeleton->priv->lock); 1402s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1402s # { 1402s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1402s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1402s # #else 1402s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1402s # #endif 1402s # 1402s # g_mutex_init (&skeleton->priv->lock); 1402s # skeleton->priv->context = g_main_context_ref_thread_default (); 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1402s # { 1402s # GObjectClass *gobject_class; 1402s # GDBusInterfaceSkeletonClass *skeleton_class; 1402s # 1402s # gobject_class = G_OBJECT_CLASS (klass); 1402s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1402s # 1402s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1402s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1402s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1402s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1402s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1402s # 1402s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1402s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1402s # #endif 1402s # } 1402s # 1402s # static void 1402s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1402s # { 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_skeleton_new: 1402s # * 1402s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1402s # * 1402s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1402s # */ 1402s # OrgProjectUsefulInterface * 1402s # org_project_useful_interface_skeleton_new (void) 1402s # { 1402s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1402s # } 1402s # /tmp/tmp3rxow59e/tmplvoedtsh.xml: 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # 1402s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmplvoedtsh.xml', '--output', '-', '--body'] 1402s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1402s # Output: /* 1402s # * This file is generated by gdbus-codegen, do not modify it. 1402s # * 1402s # * The license of this code is the same as for the D-Bus interface description 1402s # * it was derived from. Note that it links to GLib, so must comply with the 1402s # * LGPL linking clauses. 1402s # */ 1402s # 1402s # #ifdef HAVE_CONFIG_H 1402s # # include "config.h" 1402s # #endif 1402s # 1402s # #include 1402s # #ifdef G_OS_UNIX 1402s # # include 1402s # #endif 1402s # 1402s # #ifdef G_ENABLE_DEBUG 1402s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1402s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1402s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1402s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1402s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1402s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1402s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1402s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1402s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1402s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1402s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1402s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1402s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1402s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1402s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1402s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1402s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1402s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1402s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1402s # #else /* !G_ENABLE_DEBUG */ 1402s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1402s # * Do not access GValues directly in your code. Instead, use the 1402s # * g_value_get_*() functions 1402s # */ 1402s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1402s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1402s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1402s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1402s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1402s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1402s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1402s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1402s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1402s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1402s # #endif /* !G_ENABLE_DEBUG */ 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusArgInfo parent_struct; 1402s # gboolean use_gvariant; 1402s # } _ExtendedGDBusArgInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusMethodInfo parent_struct; 1402s # const gchar *signal_name; 1402s # gboolean pass_fdlist; 1402s # } _ExtendedGDBusMethodInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusSignalInfo parent_struct; 1402s # const gchar *signal_name; 1402s # } _ExtendedGDBusSignalInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusPropertyInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # guint use_gvariant : 1; 1402s # guint emits_changed_signal : 1; 1402s # } _ExtendedGDBusPropertyInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # GDBusInterfaceInfo parent_struct; 1402s # const gchar *hyphen_name; 1402s # } _ExtendedGDBusInterfaceInfo; 1402s # 1402s # typedef struct 1402s # { 1402s # const _ExtendedGDBusPropertyInfo *info; 1402s # guint prop_id; 1402s # GValue orig_value; /* the value before the change */ 1402s # } ChangedProperty; 1402s # 1402s # static void 1402s # _changed_property_free (ChangedProperty *data) 1402s # { 1402s # g_value_unset (&data->orig_value); 1402s # g_free (data); 1402s # } 1402s # 1402s # static gboolean 1402s # _g_strv_equal0 (gchar **a, gchar **b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # guint n; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # if (g_strv_length (a) != g_strv_length (b)) 1402s # goto out; 1402s # for (n = 0; a[n] != NULL; n++) 1402s # if (g_strcmp0 (a[n], b[n]) != 0) 1402s # goto out; 1402s # ret = TRUE; 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # static gboolean 1402s # _g_variant_equal0 (GVariant *a, GVariant *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # if (a == NULL && b == NULL) 1402s # { 1402s # ret = TRUE; 1402s # goto out; 1402s # } 1402s # if (a == NULL || b == NULL) 1402s # goto out; 1402s # ret = g_variant_equal (a, b); 1402s # out: 1402s # return ret; 1402s # } 1402s # 1402s # G_GNUC_UNUSED static gboolean 1402s # _g_value_equal (const GValue *a, const GValue *b) 1402s # { 1402s # gboolean ret = FALSE; 1402s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1402s # switch (G_VALUE_TYPE (a)) 1402s # { 1402s # case G_TYPE_BOOLEAN: 1402s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1402s # break; 1402s # case G_TYPE_UCHAR: 1402s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1402s # break; 1402s # case G_TYPE_INT: 1402s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1402s # break; 1402s # case G_TYPE_UINT: 1402s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1402s # break; 1402s # case G_TYPE_INT64: 1402s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1402s # break; 1402s # case G_TYPE_UINT64: 1402s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1402s # break; 1402s # case G_TYPE_DOUBLE: 1402s # { 1402s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1402s # gdouble da = g_value_get_double (a); 1402s # gdouble db = g_value_get_double (b); 1402s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1402s # } 1402s # break; 1402s # case G_TYPE_STRING: 1402s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1402s # break; 1402s # case G_TYPE_VARIANT: 1402s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1402s # break; 1402s # default: 1402s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1402s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1402s # else 1402s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1402s # break; 1402s # } 1402s # return ret; 1402s # } 1402s # 1402s # static void 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint G_GNUC_UNUSED, 1402s # void *marshal_data) 1402s # { 1402s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1402s # (void *data1, 1402s # GDBusMethodInvocation *arg_method_invocation, 1402s # void *data2); 1402s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1402s # GCClosure *cc = (GCClosure*) closure; 1402s # void *data1, *data2; 1402s # gboolean v_return; 1402s # 1402s # g_return_if_fail (return_value != NULL); 1402s # g_return_if_fail (n_param_values == 2); 1402s # 1402s # if (G_CCLOSURE_SWAP_DATA (closure)) 1402s # { 1402s # data1 = closure->data; 1402s # data2 = g_value_peek_pointer (param_values + 0); 1402s # } 1402s # else 1402s # { 1402s # data1 = g_value_peek_pointer (param_values + 0); 1402s # data2 = closure->data; 1402s # } 1402s # 1402s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1402s # (marshal_data ? marshal_data : cc->callback); 1402s # 1402s # v_return = 1402s # callback (data1, 1402s # g_marshal_value_peek_object (param_values + 1), 1402s # data2); 1402s # 1402s # g_value_set_boolean (return_value, v_return); 1402s # } 1402s # 1402s # /* ------------------------------------------------------------------------ 1402s # * Code for interface org.project.UsefulInterface 1402s # * ------------------------------------------------------------------------ 1402s # */ 1402s # 1402s # /** 1402s # * SECTION:OrgProjectUsefulInterface 1402s # * @title: OrgProjectUsefulInterface 1402s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1402s # * 1402s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1402s # */ 1402s # 1402s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1402s # 1402s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "arg_y", 1402s # (gchar *) "y", 1402s # NULL 1402s # }, 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "SingleArgMethodY", 1402s # NULL, 1402s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1402s # NULL 1402s # }, 1402s # "handle-single-arg-method-y", 1402s # FALSE 1402s # }; 1402s # 1402s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1402s # { 1402s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1402s # NULL 1402s # }; 1402s # 1402s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1402s # { 1402s # { 1402s # -1, 1402s # (gchar *) "org.project.UsefulInterface", 1402s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1402s # NULL, 1402s # NULL, 1402s # NULL 1402s # }, 1402s # "org-project-useful-interface", 1402s # }; 1402s # 1402s # 1402s # /** 1402s # * org_project_useful_interface_interface_info: 1402s # * 1402s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1402s # * 1402s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1402s # */ 1402s # GDBusInterfaceInfo * 1402s # org_project_useful_interface_interface_info (void) 1402s # { 1402s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_override_properties: 1402s # * @klass: The class structure for a #GObject derived class. 1402s # * @property_id_begin: The property id to assign to the first overridden property. 1402s # * 1402s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1402s # * The properties are overridden in the order they are defined. 1402s # * 1402s # * Returns: The last property id. 1402s # */ 1402s # guint 1402s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1402s # { 1402s # return property_id_begin - 1; 1402s # } 1402s # 1402s # 1402s # inline static void 1402s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1402s # GClosure *closure, 1402s # GValue *return_value, 1402s # unsigned int n_param_values, 1402s # const GValue *param_values, 1402s # void *invocation_hint, 1402s # void *marshal_data) 1402s # { 1402s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1402s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1402s # } 1402s # 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterface: 1402s # * 1402s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # /** 1402s # * OrgProjectUsefulInterfaceIface: 1402s # * @parent_iface: The parent interface. 1402s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1402s # * 1402s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1402s # */ 1402s # 1402s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1402s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1402s # 1402s # static void 1402s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1402s # { 1402s # /* GObject signals for incoming D-Bus method calls: */ 1402s # /** 1402s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1402s # * @object: A #OrgProjectUsefulInterface. 1402s # * @invocation: A #GDBusMethodInvocation. 1402s # * 1402s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1402s # * 1402s # * 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. 1402s # * 1402s # * 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. 1402s # */ 1402s # g_signal_new ("handle-single-arg-method-y", 1402s # G_TYPE_FROM_INTERFACE (iface), 1402s # G_SIGNAL_RUN_LAST, 1402s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1402s # g_signal_accumulator_true_handled, 1402s # NULL, 1402s # org_project_useful_interface_method_marshal_single_arg_method_y, 1402s # G_TYPE_BOOLEAN, 1402s # 1, 1402s # G_TYPE_DBUS_METHOD_INVOCATION); 1402s # 1402s # } 1402s # 1402s # /** 1402s # * org_project_useful_interface_call_single_arg_method_y: 1402s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1402s # * @cancellable: (nullable): A #GCancellable or %NULL. 1402s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1402s # * @user_data: User data to pass to @callback. 1402s # * 1402s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1402s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1402s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1402s # * 1402s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1402s # */ 1402s # void 1402s # org_project_useful_interface_call_single_arg_method_y ( 1402s # OrgProjectUsefulInterface *proxy, 1402s # GCancellable *cancellable, 1402s # GAsyncReadyCallback callback, 1402s # gpointer user_data) 1402s # { 1402s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1402s # "SingleArgMethodY", 1402s # g_variant_new ("()"), 1402s # G_DBUS_CALL_FLAGS_NONE, 1402s # -1, 1402s # cancellable, 1402s # callback, 1402s # user_data); 1402s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_y_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_y_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guchar *out_arg_y, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(y)", 1403s # out_arg_y); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_y_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_y_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guchar *out_arg_y, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodY", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(y)", 1403s # out_arg_y); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_y: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_y: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_y ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # guchar arg_y) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(y)", 1403s # arg_y)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpikebothe.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpikebothe.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodN", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-n", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-n", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_n, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_n: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_n ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodN", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_n_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_n_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gint16 *out_arg_n, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(n)", 1403s # out_arg_n); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_n_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_n_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gint16 *out_arg_n, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodN", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(n)", 1403s # out_arg_n); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_n: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_n: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_n ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # gint16 arg_n) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(n)", 1403s # arg_n)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmptiy6csme.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmptiy6csme.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodQ", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-q", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-q", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_q, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_q: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_q ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodQ", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_q_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_q_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guint16 *out_arg_q, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(q)", 1403s # out_arg_q); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_q_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_q_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guint16 *out_arg_q, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodQ", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(q)", 1403s # out_arg_q); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_q: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_q: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_q ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # guint16 arg_q) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(q)", 1403s # arg_q)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpffc6n0bg.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpffc6n0bg.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodI", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-i", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-i", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_i, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_i: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_i ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodI", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_i_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_i_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gint *out_arg_i, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(i)", 1403s # out_arg_i); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_i_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_i_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gint *out_arg_i, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodI", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(i)", 1403s # out_arg_i); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_i: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_i: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_i ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # gint arg_i) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(i)", 1403s # arg_i)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmprj3y11zz.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmprj3y11zz.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodU", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-u", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-u", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_u, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_u: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_u ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodU", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_u_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_u_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guint *out_arg_u, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(u)", 1403s # out_arg_u); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_u_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_u_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guint *out_arg_u, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodU", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(u)", 1403s # out_arg_u); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_u: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_u: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_u ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # guint arg_u) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(u)", 1403s # arg_u)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpx19kmdh2.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpx19kmdh2.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodX", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-x", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-x", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_x, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_x: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_x ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodX", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_x_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_x_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gint64 *out_arg_x, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(x)", 1403s # out_arg_x); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_x_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_x_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gint64 *out_arg_x, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodX", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(x)", 1403s # out_arg_x); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_x: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_x: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_x ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # gint64 arg_x) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(x)", 1403s # arg_x)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmp04itf2de.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmp04itf2de.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodT", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-t", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-t", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_t, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_t: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_t ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodT", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_t_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_t_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guint64 *out_arg_t, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(t)", 1403s # out_arg_t); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_t_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_t_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # guint64 *out_arg_t, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodT", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(t)", 1403s # out_arg_t); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_t: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_t: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_t ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # guint64 arg_t) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(t)", 1403s # arg_t)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmp7ig_ad7j.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmp7ig_ad7j.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodD", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-d", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-d", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_d, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_d: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_d ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodD", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_d_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_d_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gdouble *out_arg_d, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(d)", 1403s # out_arg_d); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_d_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_d_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gdouble *out_arg_d, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodD", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(d)", 1403s # out_arg_d); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_d: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_d: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_d ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # gdouble arg_d) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(d)", 1403s # arg_d)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmptmp1bk7a.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmptmp1bk7a.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodS", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-s", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-s", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_s, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_s: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_s ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodS", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_s_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_s_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_s, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(s)", 1403s # out_arg_s); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_s_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_s_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_s, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodS", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(s)", 1403s # out_arg_s); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_s: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_s: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_s ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *arg_s) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(s)", 1403s # arg_s)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmplfwbvukr.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmplfwbvukr.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodO", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-o", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-o", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_o, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_o: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_o ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodO", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_o_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_o_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_o, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(o)", 1403s # out_arg_o); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_o_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_o_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_o, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodO", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(o)", 1403s # out_arg_o); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_o: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_o: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_o ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *arg_o) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(o)", 1403s # arg_o)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmp92_cignm.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmp92_cignm.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodG", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-g", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-g", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_g, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_g: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_g ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodG", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_g_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_g_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_g, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(g)", 1403s # out_arg_g); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_g_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_g_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_g, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodG", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(g)", 1403s # out_arg_g); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_g: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_g: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_g ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *arg_g) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(g)", 1403s # arg_g)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpbtri6o5b.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpbtri6o5b.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodH", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-h", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-h", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_h, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_h: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_h ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodH", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_h_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_h_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GVariant **out_arg_h, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(@h)", 1403s # out_arg_h); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_h_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_h_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GVariant **out_arg_h, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodH", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(@h)", 1403s # out_arg_h); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_h: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_h: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_h ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # GVariant *arg_h) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(@h)", 1403s # arg_h)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmp72kwnlec.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmp72kwnlec.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodAy", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-ay", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-ay", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_ay: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_ay ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAy", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_ay, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^ay)", 1403s # out_arg_ay); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar **out_arg_ay, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAy", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^ay)", 1403s # out_arg_ay); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_ay: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_ay: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_ay ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *arg_ay) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(^ay)", 1403s # arg_ay)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpkkjqisqv.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpkkjqisqv.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodAs", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-as", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-as", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_as, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_as: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_as ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAs", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_as_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_as_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar ***out_arg_as, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^as)", 1403s # out_arg_as); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_as_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_as_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar ***out_arg_as, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAs", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^as)", 1403s # out_arg_as); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_as: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_as: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_as ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *const *arg_as) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(^as)", 1403s # arg_as)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpw201rqsk.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpw201rqsk.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodAo", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-ao", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-ao", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_ao: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_ao ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAo", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar ***out_arg_ao, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^ao)", 1403s # out_arg_ao); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar ***out_arg_ao, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAo", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^ao)", 1403s # out_arg_ao); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_ao: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_ao: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_ao ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *const *arg_ao) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(^ao)", 1403s # arg_ao)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpp1icrnr4.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpp1icrnr4.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodAay", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-aay", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-aay", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_aay: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_aay ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAay", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar ***out_arg_aay, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^aay)", 1403s # out_arg_aay); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # gchar ***out_arg_aay, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAay", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(^aay)", 1403s # out_arg_aay); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_aay: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_aay: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_aay ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # const gchar *const *arg_aay) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(^aay)", 1403s # arg_aay)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # /tmp/tmp3rxow59e/tmpwm82uvf7.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3rxow59e/tmpwm82uvf7.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "arg_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgMethodAsv", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-single-arg-method-asv", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-single-arg-method-asv", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_asv: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_useful_interface_call_single_arg_method_asv ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAsv", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GVariant **out_arg_asv, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(@a{sv})", 1403s # out_arg_asv); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1403s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1403s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1403s # OrgProjectUsefulInterface *proxy, 1403s # GVariant **out_arg_asv, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SingleArgMethodAsv", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(@a{sv})", 1403s # out_arg_asv); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_complete_single_arg_method_asv: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @arg_asv: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_useful_interface_complete_single_arg_method_asv ( 1403s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # GVariant *arg_asv) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(@a{sv})", 1403s # arg_asv)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1403s # tmpdir: /tmp/tmp4oy19tji 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmp4oy19tji/tmppix2ao47.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4oy19tji/tmppix2ao47.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 20); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # g_marshal_value_peek_boolean (param_values + 2), 1403s # g_marshal_value_peek_uchar (param_values + 3), 1403s # g_marshal_value_peek_int (param_values + 4), 1403s # g_marshal_value_peek_uint (param_values + 5), 1403s # g_marshal_value_peek_int (param_values + 6), 1403s # g_marshal_value_peek_uint (param_values + 7), 1403s # g_marshal_value_peek_int64 (param_values + 8), 1403s # g_marshal_value_peek_uint64 (param_values + 9), 1403s # g_marshal_value_peek_double (param_values + 10), 1403s # g_marshal_value_peek_string (param_values + 11), 1403s # g_marshal_value_peek_string (param_values + 12), 1403s # g_marshal_value_peek_string (param_values + 13), 1403s # g_marshal_value_peek_variant (param_values + 14), 1403s # g_marshal_value_peek_string (param_values + 15), 1403s # g_marshal_value_peek_boxed (param_values + 16), 1403s # g_marshal_value_peek_boxed (param_values + 17), 1403s # g_marshal_value_peek_boxed (param_values + 18), 1403s # g_marshal_value_peek_variant (param_values + 19), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.CallableIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectCallableIface 1403s # * @title: OrgProjectCallableIface 1403s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.CallableIface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1403s # { 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "MethodWithManyArgs", 1403s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "handle-method-with-many-args", 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1403s # { 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SameMethodWithManyArgs", 1403s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "handle-same-method-with-many-args", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1403s # { 1403s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1403s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.CallableIface", 1403s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-callable-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_callable_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_callable_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_callable_iface_method_marshal_method_with_many_args ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _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, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _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, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectCallableIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1403s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.CallableIface. 1403s # */ 1403s # 1403s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectCallableIface::handle-method-with-many-args: 1403s # * @object: A #OrgProjectCallableIface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * @arg_an_b: Argument passed by remote caller. 1403s # * @arg_an_y: Argument passed by remote caller. 1403s # * @arg_an_n: Argument passed by remote caller. 1403s # * @arg_an_q: Argument passed by remote caller. 1403s # * @arg_an_i: Argument passed by remote caller. 1403s # * @arg_an_u: Argument passed by remote caller. 1403s # * @arg_an_x: Argument passed by remote caller. 1403s # * @arg_an_t: Argument passed by remote caller. 1403s # * @arg_an_d: Argument passed by remote caller. 1403s # * @arg_an_s: Argument passed by remote caller. 1403s # * @arg_an_o: Argument passed by remote caller. 1403s # * @arg_an_g: Argument passed by remote caller. 1403s # * @arg_an_h: Argument passed by remote caller. 1403s # * @arg_an_ay: Argument passed by remote caller. 1403s # * @arg_an_as: Argument passed by remote caller. 1403s # * @arg_an_ao: Argument passed by remote caller. 1403s # * @arg_an_aay: Argument passed by remote caller. 1403s # * @arg_an_asv: Argument passed by remote caller. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-method-with-many-args", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_callable_iface_method_marshal_method_with_many_args, 1403s # G_TYPE_BOOLEAN, 1403s # 19, 1403s # 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); 1403s # 1403s # /** 1403s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1403s # * @object: A #OrgProjectCallableIface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * @arg_an_b: Argument passed by remote caller. 1403s # * @arg_an_y: Argument passed by remote caller. 1403s # * @arg_an_n: Argument passed by remote caller. 1403s # * @arg_an_q: Argument passed by remote caller. 1403s # * @arg_an_i: Argument passed by remote caller. 1403s # * @arg_an_u: Argument passed by remote caller. 1403s # * @arg_an_x: Argument passed by remote caller. 1403s # * @arg_an_t: Argument passed by remote caller. 1403s # * @arg_an_d: Argument passed by remote caller. 1403s # * @arg_an_s: Argument passed by remote caller. 1403s # * @arg_an_o: Argument passed by remote caller. 1403s # * @arg_an_g: Argument passed by remote caller. 1403s # * @arg_an_h: Argument passed by remote caller. 1403s # * @arg_an_ay: Argument passed by remote caller. 1403s # * @arg_an_as: Argument passed by remote caller. 1403s # * @arg_an_ao: Argument passed by remote caller. 1403s # * @arg_an_aay: Argument passed by remote caller. 1403s # * @arg_an_asv: Argument passed by remote caller. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-same-method-with-many-args", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1403s # G_TYPE_BOOLEAN, 1403s # 19, 1403s # 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); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_method_with_many_args: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @arg_an_b: Argument to pass with the method invocation. 1403s # * @arg_an_y: Argument to pass with the method invocation. 1403s # * @arg_an_n: Argument to pass with the method invocation. 1403s # * @arg_an_q: Argument to pass with the method invocation. 1403s # * @arg_an_i: Argument to pass with the method invocation. 1403s # * @arg_an_u: Argument to pass with the method invocation. 1403s # * @arg_an_x: Argument to pass with the method invocation. 1403s # * @arg_an_t: Argument to pass with the method invocation. 1403s # * @arg_an_d: Argument to pass with the method invocation. 1403s # * @arg_an_s: Argument to pass with the method invocation. 1403s # * @arg_an_o: Argument to pass with the method invocation. 1403s # * @arg_an_g: Argument to pass with the method invocation. 1403s # * @arg_an_h: Argument to pass with the method invocation. 1403s # * @arg_an_ay: Argument to pass with the method invocation. 1403s # * @arg_an_as: Argument to pass with the method invocation. 1403s # * @arg_an_ao: Argument to pass with the method invocation. 1403s # * @arg_an_aay: Argument to pass with the method invocation. 1403s # * @arg_an_asv: Argument to pass with the method invocation. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_callable_iface_call_method_with_many_args ( 1403s # OrgProjectCallableIface *proxy, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "MethodWithManyArgs", 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_method_with_many_args_finish: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_callable_iface_call_method_with_many_args_finish ( 1403s # OrgProjectCallableIface *proxy, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "()"); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_method_with_many_args_sync: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @arg_an_b: Argument to pass with the method invocation. 1403s # * @arg_an_y: Argument to pass with the method invocation. 1403s # * @arg_an_n: Argument to pass with the method invocation. 1403s # * @arg_an_q: Argument to pass with the method invocation. 1403s # * @arg_an_i: Argument to pass with the method invocation. 1403s # * @arg_an_u: Argument to pass with the method invocation. 1403s # * @arg_an_x: Argument to pass with the method invocation. 1403s # * @arg_an_t: Argument to pass with the method invocation. 1403s # * @arg_an_d: Argument to pass with the method invocation. 1403s # * @arg_an_s: Argument to pass with the method invocation. 1403s # * @arg_an_o: Argument to pass with the method invocation. 1403s # * @arg_an_g: Argument to pass with the method invocation. 1403s # * @arg_an_h: Argument to pass with the method invocation. 1403s # * @arg_an_ay: Argument to pass with the method invocation. 1403s # * @arg_an_as: Argument to pass with the method invocation. 1403s # * @arg_an_ao: Argument to pass with the method invocation. 1403s # * @arg_an_aay: Argument to pass with the method invocation. 1403s # * @arg_an_asv: Argument to pass with the method invocation. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_callable_iface_call_method_with_many_args_sync ( 1403s # OrgProjectCallableIface *proxy, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "MethodWithManyArgs", 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "()"); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_same_method_with_many_args: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @arg_an_b: Argument to pass with the method invocation. 1403s # * @arg_an_y: Argument to pass with the method invocation. 1403s # * @arg_an_n: Argument to pass with the method invocation. 1403s # * @arg_an_q: Argument to pass with the method invocation. 1403s # * @arg_an_i: Argument to pass with the method invocation. 1403s # * @arg_an_u: Argument to pass with the method invocation. 1403s # * @arg_an_x: Argument to pass with the method invocation. 1403s # * @arg_an_t: Argument to pass with the method invocation. 1403s # * @arg_an_d: Argument to pass with the method invocation. 1403s # * @arg_an_s: Argument to pass with the method invocation. 1403s # * @arg_an_o: Argument to pass with the method invocation. 1403s # * @arg_an_g: Argument to pass with the method invocation. 1403s # * @arg_an_h: Argument to pass with the method invocation. 1403s # * @arg_an_ay: Argument to pass with the method invocation. 1403s # * @arg_an_as: Argument to pass with the method invocation. 1403s # * @arg_an_ao: Argument to pass with the method invocation. 1403s # * @arg_an_aay: Argument to pass with the method invocation. 1403s # * @arg_an_asv: Argument to pass with the method invocation. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_callable_iface_call_same_method_with_many_args ( 1403s # OrgProjectCallableIface *proxy, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "SameMethodWithManyArgs", 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1403s # OrgProjectCallableIface *proxy, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "()"); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @arg_an_b: Argument to pass with the method invocation. 1403s # * @arg_an_y: Argument to pass with the method invocation. 1403s # * @arg_an_n: Argument to pass with the method invocation. 1403s # * @arg_an_q: Argument to pass with the method invocation. 1403s # * @arg_an_i: Argument to pass with the method invocation. 1403s # * @arg_an_u: Argument to pass with the method invocation. 1403s # * @arg_an_x: Argument to pass with the method invocation. 1403s # * @arg_an_t: Argument to pass with the method invocation. 1403s # * @arg_an_d: Argument to pass with the method invocation. 1403s # * @arg_an_s: Argument to pass with the method invocation. 1403s # * @arg_an_o: Argument to pass with the method invocation. 1403s # * @arg_an_g: Argument to pass with the method invocation. 1403s # * @arg_an_h: Argument to pass with the method invocation. 1403s # * @arg_an_ay: Argument to pass with the method invocation. 1403s # * @arg_an_as: Argument to pass with the method invocation. 1403s # * @arg_an_ao: Argument to pass with the method invocation. 1403s # * @arg_an_aay: Argument to pass with the method invocation. 1403s # * @arg_an_asv: Argument to pass with the method invocation. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1403s # OrgProjectCallableIface *proxy, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "SameMethodWithManyArgs", 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "()"); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_complete_method_with_many_args: 1403s # * @object: A #OrgProjectCallableIface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_callable_iface_complete_method_with_many_args ( 1403s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("()")); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_complete_same_method_with_many_args: 1403s # * @object: A #OrgProjectCallableIface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_callable_iface_complete_same_method_with_many_args ( 1403s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("()")); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceProxy: 1403s # * 1403s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectCallableIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectCallableIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_callable_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_callable_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_callable_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectCallableIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_callable_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_callable_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_callable_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1403s # { 1403s # _org_project_callable_iface_skeleton_handle_method_call, 1403s # _org_project_callable_iface_skeleton_handle_get_property, 1403s # _org_project_callable_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_callable_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_callable_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.OtherCallableIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectOtherCallableIface 1403s # * @title: OrgProjectOtherCallableIface 1403s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1403s # { 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "MethodWithManyArgs", 1403s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "handle-method-with-many-args", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1403s # { 1403s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.OtherCallableIface", 1403s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-other-callable-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_other_callable_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _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, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectOtherCallableIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherCallableIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1403s # */ 1403s # 1403s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1403s # * @object: A #OrgProjectOtherCallableIface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * @arg_an_b: Argument passed by remote caller. 1403s # * @arg_an_y: Argument passed by remote caller. 1403s # * @arg_an_n: Argument passed by remote caller. 1403s # * @arg_an_q: Argument passed by remote caller. 1403s # * @arg_an_i: Argument passed by remote caller. 1403s # * @arg_an_u: Argument passed by remote caller. 1403s # * @arg_an_x: Argument passed by remote caller. 1403s # * @arg_an_t: Argument passed by remote caller. 1403s # * @arg_an_d: Argument passed by remote caller. 1403s # * @arg_an_s: Argument passed by remote caller. 1403s # * @arg_an_o: Argument passed by remote caller. 1403s # * @arg_an_g: Argument passed by remote caller. 1403s # * @arg_an_h: Argument passed by remote caller. 1403s # * @arg_an_ay: Argument passed by remote caller. 1403s # * @arg_an_as: Argument passed by remote caller. 1403s # * @arg_an_ao: Argument passed by remote caller. 1403s # * @arg_an_aay: Argument passed by remote caller. 1403s # * @arg_an_asv: Argument passed by remote caller. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-method-with-many-args", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1403s # G_TYPE_BOOLEAN, 1403s # 19, 1403s # 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); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_call_method_with_many_args: 1403s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1403s # * @arg_an_b: Argument to pass with the method invocation. 1403s # * @arg_an_y: Argument to pass with the method invocation. 1403s # * @arg_an_n: Argument to pass with the method invocation. 1403s # * @arg_an_q: Argument to pass with the method invocation. 1403s # * @arg_an_i: Argument to pass with the method invocation. 1403s # * @arg_an_u: Argument to pass with the method invocation. 1403s # * @arg_an_x: Argument to pass with the method invocation. 1403s # * @arg_an_t: Argument to pass with the method invocation. 1403s # * @arg_an_d: Argument to pass with the method invocation. 1403s # * @arg_an_s: Argument to pass with the method invocation. 1403s # * @arg_an_o: Argument to pass with the method invocation. 1403s # * @arg_an_g: Argument to pass with the method invocation. 1403s # * @arg_an_h: Argument to pass with the method invocation. 1403s # * @arg_an_ay: Argument to pass with the method invocation. 1403s # * @arg_an_as: Argument to pass with the method invocation. 1403s # * @arg_an_ao: Argument to pass with the method invocation. 1403s # * @arg_an_aay: Argument to pass with the method invocation. 1403s # * @arg_an_asv: Argument to pass with the method invocation. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_other_callable_iface_call_method_with_many_args ( 1403s # OrgProjectOtherCallableIface *proxy, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "MethodWithManyArgs", 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1403s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1403s # OrgProjectOtherCallableIface *proxy, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "()"); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1403s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1403s # * @arg_an_b: Argument to pass with the method invocation. 1403s # * @arg_an_y: Argument to pass with the method invocation. 1403s # * @arg_an_n: Argument to pass with the method invocation. 1403s # * @arg_an_q: Argument to pass with the method invocation. 1403s # * @arg_an_i: Argument to pass with the method invocation. 1403s # * @arg_an_u: Argument to pass with the method invocation. 1403s # * @arg_an_x: Argument to pass with the method invocation. 1403s # * @arg_an_t: Argument to pass with the method invocation. 1403s # * @arg_an_d: Argument to pass with the method invocation. 1403s # * @arg_an_s: Argument to pass with the method invocation. 1403s # * @arg_an_o: Argument to pass with the method invocation. 1403s # * @arg_an_g: Argument to pass with the method invocation. 1403s # * @arg_an_h: Argument to pass with the method invocation. 1403s # * @arg_an_ay: Argument to pass with the method invocation. 1403s # * @arg_an_as: Argument to pass with the method invocation. 1403s # * @arg_an_ao: Argument to pass with the method invocation. 1403s # * @arg_an_aay: Argument to pass with the method invocation. 1403s # * @arg_an_asv: Argument to pass with the method invocation. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1403s # OrgProjectOtherCallableIface *proxy, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "MethodWithManyArgs", 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "()"); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_complete_method_with_many_args: 1403s # * @object: A #OrgProjectOtherCallableIface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_other_callable_iface_complete_method_with_many_args ( 1403s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("()")); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectOtherCallableIfaceProxy: 1403s # * 1403s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherCallableIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_other_callable_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherCallableIface * 1403s # org_project_other_callable_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherCallableIface * 1403s # org_project_other_callable_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_other_callable_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherCallableIface * 1403s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherCallableIface * 1403s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectOtherCallableIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherCallableIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1403s # { 1403s # _org_project_other_callable_iface_skeleton_handle_method_call, 1403s # _org_project_other_callable_iface_skeleton_handle_get_property, 1403s # _org_project_other_callable_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_other_callable_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_callable_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectOtherCallableIface * 1403s # org_project_other_callable_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1403s # } 1403s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1403s # tmpdir: /tmp/tmpe8g98up6 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpe8g98up6/tmpht61lwhm.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe8g98up6/tmpht61lwhm.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (void *data1, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.CallableIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectCallableIface 1403s # * @title: OrgProjectCallableIface 1403s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for org.project.CallableIface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1403s # { 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1403s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "MethodWithManyArgs", 1403s # NULL, 1403s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-method-with-many-args", 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1403s # { 1403s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.CallableIface", 1403s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-callable-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_callable_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_callable_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_callable_iface_method_marshal_method_with_many_args ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectCallableIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.CallableIface. 1403s # */ 1403s # 1403s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * OrgProjectCallableIface::handle-method-with-many-args: 1403s # * @object: A #OrgProjectCallableIface. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-method-with-many-args", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # org_project_callable_iface_method_marshal_method_with_many_args, 1403s # G_TYPE_BOOLEAN, 1403s # 1, 1403s # G_TYPE_DBUS_METHOD_INVOCATION); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_method_with_many_args: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # org_project_callable_iface_call_method_with_many_args ( 1403s # OrgProjectCallableIface *proxy, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1403s # "MethodWithManyArgs", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_method_with_many_args_finish: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_callable_iface_call_method_with_many_args_finish ( 1403s # OrgProjectCallableIface *proxy, 1403s # gboolean *out_an_b, 1403s # guchar *out_an_y, 1403s # gint16 *out_an_n, 1403s # guint16 *out_an_q, 1403s # gint *out_an_i, 1403s # guint *out_an_u, 1403s # gint64 *out_an_x, 1403s # guint64 *out_an_t, 1403s # gdouble *out_an_d, 1403s # gchar **out_an_s, 1403s # gchar **out_an_o, 1403s # gchar **out_an_g, 1403s # GVariant **out_an_h, 1403s # gchar **out_an_ay, 1403s # gchar ***out_an_as, 1403s # gchar ***out_an_ao, 1403s # gchar ***out_an_aay, 1403s # GVariant **out_an_asv, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # out_an_b, 1403s # out_an_y, 1403s # out_an_n, 1403s # out_an_q, 1403s # out_an_i, 1403s # out_an_u, 1403s # out_an_x, 1403s # out_an_t, 1403s # out_an_d, 1403s # out_an_s, 1403s # out_an_o, 1403s # out_an_g, 1403s # out_an_h, 1403s # out_an_ay, 1403s # out_an_as, 1403s # out_an_ao, 1403s # out_an_aay, 1403s # out_an_asv); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_call_method_with_many_args_sync: 1403s # * @proxy: A #OrgProjectCallableIfaceProxy. 1403s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1403s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # org_project_callable_iface_call_method_with_many_args_sync ( 1403s # OrgProjectCallableIface *proxy, 1403s # gboolean *out_an_b, 1403s # guchar *out_an_y, 1403s # gint16 *out_an_n, 1403s # guint16 *out_an_q, 1403s # gint *out_an_i, 1403s # guint *out_an_u, 1403s # gint64 *out_an_x, 1403s # guint64 *out_an_t, 1403s # gdouble *out_an_d, 1403s # gchar **out_an_s, 1403s # gchar **out_an_o, 1403s # gchar **out_an_g, 1403s # GVariant **out_an_h, 1403s # gchar **out_an_ay, 1403s # gchar ***out_an_as, 1403s # gchar ***out_an_ao, 1403s # gchar ***out_an_aay, 1403s # GVariant **out_an_asv, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1403s # "MethodWithManyArgs", 1403s # g_variant_new ("()"), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # out_an_b, 1403s # out_an_y, 1403s # out_an_n, 1403s # out_an_q, 1403s # out_an_i, 1403s # out_an_u, 1403s # out_an_x, 1403s # out_an_t, 1403s # out_an_d, 1403s # out_an_s, 1403s # out_an_o, 1403s # out_an_g, 1403s # out_an_h, 1403s # out_an_ay, 1403s # out_an_as, 1403s # out_an_ao, 1403s # out_an_aay, 1403s # out_an_asv); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_complete_method_with_many_args: 1403s # * @object: A #OrgProjectCallableIface. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @an_b: Parameter to return. 1403s # * @an_y: Parameter to return. 1403s # * @an_n: Parameter to return. 1403s # * @an_q: Parameter to return. 1403s # * @an_i: Parameter to return. 1403s # * @an_u: Parameter to return. 1403s # * @an_x: Parameter to return. 1403s # * @an_t: Parameter to return. 1403s # * @an_d: Parameter to return. 1403s # * @an_s: Parameter to return. 1403s # * @an_o: Parameter to return. 1403s # * @an_g: Parameter to return. 1403s # * @an_h: Parameter to return. 1403s # * @an_ay: Parameter to return. 1403s # * @an_as: Parameter to return. 1403s # * @an_ao: Parameter to return. 1403s # * @an_aay: Parameter to return. 1403s # * @an_asv: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # org_project_callable_iface_complete_method_with_many_args ( 1403s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # gboolean an_b, 1403s # guchar an_y, 1403s # gint16 an_n, 1403s # guint16 an_q, 1403s # gint an_i, 1403s # guint an_u, 1403s # gint64 an_x, 1403s # guint64 an_t, 1403s # gdouble an_d, 1403s # const gchar *an_s, 1403s # const gchar *an_o, 1403s # const gchar *an_g, 1403s # GVariant *an_h, 1403s # const gchar *an_ay, 1403s # const gchar *const *an_as, 1403s # const gchar *const *an_ao, 1403s # const gchar *const *an_aay, 1403s # GVariant *an_asv) 1403s # { 1403s # g_dbus_method_invocation_return_value (invocation, 1403s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # an_b, 1403s # an_y, 1403s # an_n, 1403s # an_q, 1403s # an_i, 1403s # an_u, 1403s # an_x, 1403s # an_t, 1403s # an_d, 1403s # an_s, 1403s # an_o, 1403s # an_g, 1403s # an_h, 1403s # an_ay, 1403s # an_as, 1403s # an_ao, 1403s # an_aay, 1403s # an_asv)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceProxy: 1403s # * 1403s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectCallableIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectCallableIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_callable_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_callable_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_callable_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectCallableIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectCallableIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_callable_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_callable_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_callable_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1403s # { 1403s # _org_project_callable_iface_skeleton_handle_method_call, 1403s # _org_project_callable_iface_skeleton_handle_get_property, 1403s # _org_project_callable_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_callable_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_callable_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_callable_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectCallableIface * 1403s # org_project_callable_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1403s # } 1403s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1403s # tmpdir: /tmp/tmpguhk68n4 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpguhk68n4/tmpfu92j7y7.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpguhk68n4/tmpfu92j7y7.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1403s # (void *data1, 1403s # GUnixFDList *arg_fd_list, 1403s # GDBusMethodInvocation *arg_method_invocation, 1403s # const gchar *arg_greeting, 1403s # void *data2); 1403s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # gboolean v_return; 1403s # 1403s # g_return_if_fail (return_value != NULL); 1403s # g_return_if_fail (n_param_values == 4); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # v_return = 1403s # callback (data1, 1403s # g_marshal_value_peek_object (param_values + 1), 1403s # g_marshal_value_peek_object (param_values + 2), 1403s # g_marshal_value_peek_string (param_values + 3), 1403s # data2); 1403s # 1403s # g_value_set_boolean (return_value, v_return); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface test.FDPassing 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:TestFDPassing 1403s # * @title: TestFDPassing 1403s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1403s # * 1403s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1403s # */ 1403s # 1403s # /* ---- Introspection data for test.FDPassing ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "greeting", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1403s # { 1403s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "response", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1403s # { 1403s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "HelloFD", 1403s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1403s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "handle-hello-fd", 1403s # TRUE 1403s # }; 1403s # 1403s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1403s # { 1403s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "test.FDPassing", 1403s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1403s # NULL, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "test-fdpassing", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * test_fdpassing_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # test_fdpassing_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # test_fdpassing_method_marshal_hello_fd ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * TestFDPassing: 1403s # * 1403s # * Abstract interface type for the D-Bus interface test.FDPassing. 1403s # */ 1403s # 1403s # /** 1403s # * TestFDPassingIface: 1403s # * @parent_iface: The parent interface. 1403s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1403s # * 1403s # * Virtual table for the D-Bus interface test.FDPassing. 1403s # */ 1403s # 1403s # typedef TestFDPassingIface TestFDPassingInterface; 1403s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # test_fdpassing_default_init (TestFDPassingIface *iface) 1403s # { 1403s # /* GObject signals for incoming D-Bus method calls: */ 1403s # /** 1403s # * TestFDPassing::handle-hello-fd: 1403s # * @object: A #TestFDPassing. 1403s # * @invocation: A #GDBusMethodInvocation. 1403s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1403s # * @arg_greeting: Argument passed by remote caller. 1403s # * 1403s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1403s # * 1403s # * 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. 1403s # * 1403s # * 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. 1403s # */ 1403s # g_signal_new ("handle-hello-fd", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1403s # g_signal_accumulator_true_handled, 1403s # NULL, 1403s # test_fdpassing_method_marshal_hello_fd, 1403s # G_TYPE_BOOLEAN, 1403s # 3, 1403s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_call_hello_fd: 1403s # * @proxy: A #TestFDPassingProxy. 1403s # * @arg_greeting: Argument to pass with the method invocation. 1403s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1403s # * 1403s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1403s # */ 1403s # void 1403s # test_fdpassing_call_hello_fd ( 1403s # TestFDPassing *proxy, 1403s # const gchar *arg_greeting, 1403s # GUnixFDList *fd_list, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1403s # "HelloFD", 1403s # g_variant_new ("(s)", 1403s # arg_greeting), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # fd_list, 1403s # cancellable, 1403s # callback, 1403s # user_data); 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_call_hello_fd_finish: 1403s # * @proxy: A #TestFDPassingProxy. 1403s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # test_fdpassing_call_hello_fd_finish ( 1403s # TestFDPassing *proxy, 1403s # gchar **out_response, 1403s # GUnixFDList **out_fd_list, 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(s)", 1403s # out_response); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_call_hello_fd_sync: 1403s # * @proxy: A #TestFDPassingProxy. 1403s # * @arg_greeting: Argument to pass with the method invocation. 1403s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1403s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1403s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL. 1403s # * 1403s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1403s # * 1403s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1403s # * 1403s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1403s # */ 1403s # gboolean 1403s # test_fdpassing_call_hello_fd_sync ( 1403s # TestFDPassing *proxy, 1403s # const gchar *arg_greeting, 1403s # GUnixFDList *fd_list, 1403s # gchar **out_response, 1403s # GUnixFDList **out_fd_list, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GVariant *_ret; 1403s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1403s # "HelloFD", 1403s # g_variant_new ("(s)", 1403s # arg_greeting), 1403s # G_DBUS_CALL_FLAGS_NONE, 1403s # -1, 1403s # fd_list, 1403s # out_fd_list, 1403s # cancellable, 1403s # error); 1403s # if (_ret == NULL) 1403s # goto _out; 1403s # g_variant_get (_ret, 1403s # "(s)", 1403s # out_response); 1403s # g_variant_unref (_ret); 1403s # _out: 1403s # return _ret != NULL; 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_complete_hello_fd: 1403s # * @object: A #TestFDPassing. 1403s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1403s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1403s # * @response: Parameter to return. 1403s # * 1403s # * 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. 1403s # * 1403s # * This method will free @invocation, you cannot use it afterwards. 1403s # */ 1403s # void 1403s # test_fdpassing_complete_hello_fd ( 1403s # TestFDPassing *object G_GNUC_UNUSED, 1403s # GDBusMethodInvocation *invocation, 1403s # GUnixFDList *fd_list, 1403s # const gchar *response) 1403s # { 1403s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1403s # g_variant_new ("(s)", 1403s # response), 1403s # fd_list); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * TestFDPassingProxy: 1403s # * 1403s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * TestFDPassingProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #TestFDPassingProxy. 1403s # */ 1403s # 1403s # struct _TestFDPassingProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (TestFDPassingProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # test_fdpassing_proxy_finalize (GObject *object) 1403s # { 1403s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1403s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1403s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1403s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # test_fdpassing_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with test_fdpassing_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # TestFDPassing * 1403s # test_fdpassing_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return TEST_FDPASSING (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # TestFDPassing * 1403s # test_fdpassing_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return TEST_FDPASSING (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * test_fdpassing_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # test_fdpassing_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # TestFDPassing * 1403s # test_fdpassing_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return TEST_FDPASSING (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # TestFDPassing * 1403s # test_fdpassing_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return TEST_FDPASSING (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * TestFDPassingSkeleton: 1403s # * 1403s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * TestFDPassingSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #TestFDPassingSkeleton. 1403s # */ 1403s # 1403s # struct _TestFDPassingSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _test_fdpassing_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _test_fdpassing_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _test_fdpassing_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1403s # { 1403s # _test_fdpassing_skeleton_handle_method_call, 1403s # _test_fdpassing_skeleton_handle_get_property, 1403s # _test_fdpassing_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return test_fdpassing_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # test_fdpassing_skeleton_finalize (GObject *object) 1403s # { 1403s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * test_fdpassing_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1403s # * 1403s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1403s # */ 1403s # TestFDPassing * 1403s # test_fdpassing_skeleton_new (void) 1403s # { 1403s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1403s # } 1403s ok 15 __main__.TestCodegen.test_generate_rst 1403s # tmpdir: /tmp/tmplu80e50w 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmplu80e50w/tmp59dmi4ay.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplu80e50w/tmp59dmi4ay.xml', '--generate-rst', 'test'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: 1403s ok 16 __main__.TestCodegen.test_generate_rst_method 1403s # tmpdir: /tmp/tmpb3apuqka 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpb3apuqka/tmpj46fsftj.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb3apuqka/tmpj46fsftj.xml', '--generate-rst', 'test'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: 1403s ok 17 __main__.TestCodegen.test_generate_rst_property 1403s # tmpdir: /tmp/tmpl2dif212 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpl2dif212/tmpcsumvb1b.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl2dif212/tmpcsumvb1b.xml', '--generate-rst', 'test'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: 1403s ok 18 __main__.TestCodegen.test_generate_rst_signal 1403s # tmpdir: /tmp/tmppkp0sk8n 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmppkp0sk8n/tmp26xm3zpr.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppkp0sk8n/tmp26xm3zpr.xml', '--generate-rst', 'test'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: 1403s # Executing: glib/codegen.py.test 1403s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1403s # tmpdir: /tmp/tmpfmrdwxc3 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpfmrdwxc3/tmpaqajbx_0.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfmrdwxc3/tmpaqajbx_0.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1403s # GClosure *closure, 1403s # GValue *return_value G_GNUC_UNUSED, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1403s # (void *data1, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv, 1403s # void *data2); 1403s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # 1403s # g_return_if_fail (n_param_values == 19); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # callback (data1, 1403s # g_marshal_value_peek_boolean (param_values + 1), 1403s # g_marshal_value_peek_uchar (param_values + 2), 1403s # g_marshal_value_peek_int (param_values + 3), 1403s # g_marshal_value_peek_uint (param_values + 4), 1403s # g_marshal_value_peek_int (param_values + 5), 1403s # g_marshal_value_peek_uint (param_values + 6), 1403s # g_marshal_value_peek_int64 (param_values + 7), 1403s # g_marshal_value_peek_uint64 (param_values + 8), 1403s # g_marshal_value_peek_double (param_values + 9), 1403s # g_marshal_value_peek_string (param_values + 10), 1403s # g_marshal_value_peek_string (param_values + 11), 1403s # g_marshal_value_peek_string (param_values + 12), 1403s # g_marshal_value_peek_variant (param_values + 13), 1403s # g_marshal_value_peek_string (param_values + 14), 1403s # g_marshal_value_peek_boxed (param_values + 15), 1403s # g_marshal_value_peek_boxed (param_values + 16), 1403s # g_marshal_value_peek_boxed (param_values + 17), 1403s # g_marshal_value_peek_variant (param_values + 18), 1403s # data2); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SignalWithManyArgs", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "signal-with-many-args" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::signal-with-many-args: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_b: Argument. 1403s # * @arg_an_y: Argument. 1403s # * @arg_an_n: Argument. 1403s # * @arg_an_q: Argument. 1403s # * @arg_an_i: Argument. 1403s # * @arg_an_u: Argument. 1403s # * @arg_an_x: Argument. 1403s # * @arg_an_t: Argument. 1403s # * @arg_an_d: Argument. 1403s # * @arg_an_s: Argument. 1403s # * @arg_an_o: Argument. 1403s # * @arg_an_g: Argument. 1403s # * @arg_an_h: Argument. 1403s # * @arg_an_ay: Argument. 1403s # * @arg_an_as: Argument. 1403s # * @arg_an_ao: Argument. 1403s # * @arg_an_aay: Argument. 1403s # * @arg_an_asv: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1403s # g_signal_new ("signal-with-many-args", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1403s # G_TYPE_NONE, 1403s # 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); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_signal_with_many_args: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_b: Argument to pass with the signal. 1403s # * @arg_an_y: Argument to pass with the signal. 1403s # * @arg_an_n: Argument to pass with the signal. 1403s # * @arg_an_q: Argument to pass with the signal. 1403s # * @arg_an_i: Argument to pass with the signal. 1403s # * @arg_an_u: Argument to pass with the signal. 1403s # * @arg_an_x: Argument to pass with the signal. 1403s # * @arg_an_t: Argument to pass with the signal. 1403s # * @arg_an_d: Argument to pass with the signal. 1403s # * @arg_an_s: Argument to pass with the signal. 1403s # * @arg_an_o: Argument to pass with the signal. 1403s # * @arg_an_g: Argument to pass with the signal. 1403s # * @arg_an_h: Argument to pass with the signal. 1403s # * @arg_an_ay: Argument to pass with the signal. 1403s # * @arg_an_as: Argument to pass with the signal. 1403s # * @arg_an_ao: Argument to pass with the signal. 1403s # * @arg_an_aay: Argument to pass with the signal. 1403s # * @arg_an_asv: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SignalWithManyArgs" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_signal_with_many_args ( 1403s # OrgProjectSignalingIface *object, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1403s # OrgProjectSignalingIface *object, 1403s # gboolean arg_an_b, 1403s # guchar arg_an_y, 1403s # gint16 arg_an_n, 1403s # guint16 arg_an_q, 1403s # gint arg_an_i, 1403s # guint arg_an_u, 1403s # gint64 arg_an_x, 1403s # guint64 arg_an_t, 1403s # gdouble arg_an_d, 1403s # const gchar *arg_an_s, 1403s # const gchar *arg_an_o, 1403s # const gchar *arg_an_g, 1403s # GVariant *arg_an_h, 1403s # const gchar *arg_an_ay, 1403s # const gchar *const *arg_an_as, 1403s # const gchar *const *arg_an_ao, 1403s # const gchar *const *arg_an_aay, 1403s # GVariant *arg_an_asv) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1403s # arg_an_b, 1403s # arg_an_y, 1403s # arg_an_n, 1403s # arg_an_q, 1403s # arg_an_i, 1403s # arg_an_u, 1403s # arg_an_x, 1403s # arg_an_t, 1403s # arg_an_d, 1403s # arg_an_s, 1403s # arg_an_o, 1403s # arg_an_g, 1403s # arg_an_h, 1403s # arg_an_ay, 1403s # arg_an_as, 1403s # arg_an_ao, 1403s # arg_an_aay, 1403s # arg_an_asv)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1403s # tmpdir: /tmp/tmp96xzcuu0 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmp96xzcuu0/tmp_ztc35gw.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp96xzcuu0/tmp_ztc35gw.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_VOID__INT64 ( 1403s # GClosure *closure, 1403s # GValue *return_value G_GNUC_UNUSED, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1403s # (void *data1, 1403s # gint64 arg_an_x, 1403s # void *data2); 1403s # _GDbusCodegenMarshalVoid_Int64Func callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # callback (data1, 1403s # g_marshal_value_peek_int64 (param_values + 1), 1403s # data2); 1403s # } 1403s # 1403s # static void 1403s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1403s # GClosure *closure, 1403s # GValue *return_value G_GNUC_UNUSED, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint G_GNUC_UNUSED, 1403s # void *marshal_data) 1403s # { 1403s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1403s # (void *data1, 1403s # guint64 arg_an_t, 1403s # void *data2); 1403s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1403s # GCClosure *cc = (GCClosure*) closure; 1403s # void *data1, *data2; 1403s # 1403s # g_return_if_fail (n_param_values == 2); 1403s # 1403s # if (G_CCLOSURE_SWAP_DATA (closure)) 1403s # { 1403s # data1 = closure->data; 1403s # data2 = g_value_peek_pointer (param_values + 0); 1403s # } 1403s # else 1403s # { 1403s # data1 = g_value_peek_pointer (param_values + 0); 1403s # data2 = closure->data; 1403s # } 1403s # 1403s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1403s # (marshal_data ? marshal_data : cc->callback); 1403s # 1403s # callback (data1, 1403s # g_marshal_value_peek_uint64 (param_values + 1), 1403s # data2); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1403s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "NoArgSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "no-arg-signal" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_b", 1403s # (gchar *) "b", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalB", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-b" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_y", 1403s # (gchar *) "y", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalY", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-y" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_n", 1403s # (gchar *) "n", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalN", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-n" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_q", 1403s # (gchar *) "q", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalQ", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-q" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_i", 1403s # (gchar *) "i", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalI", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-i" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_u", 1403s # (gchar *) "u", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalU", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-u" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_x", 1403s # (gchar *) "x", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalX", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-x" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_t", 1403s # (gchar *) "t", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalT", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-t" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_d", 1403s # (gchar *) "d", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalD", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-d" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_s", 1403s # (gchar *) "s", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalS", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-s" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_o", 1403s # (gchar *) "o", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalO", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-o" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_g", 1403s # (gchar *) "g", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalG", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-g" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_h", 1403s # (gchar *) "h", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalH", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-h" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ay", 1403s # (gchar *) "ay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalAY", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-ay" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_as", 1403s # (gchar *) "as", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalAS", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-as" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_ao", 1403s # (gchar *) "ao", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalAO", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-ao" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_aay", 1403s # (gchar *) "aay", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalAAY", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-aay" 1403s # }; 1403s # 1403s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "an_asv", 1403s # (gchar *) "a{sv}", 1403s # NULL 1403s # }, 1403s # FALSE 1403s # }; 1403s # 1403s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SingleArgSignalASV", 1403s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1403s # NULL 1403s # }, 1403s # "single-arg-signal-asv" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1403s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__UCHAR (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__INT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__UINT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__INT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__UINT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__DOUBLE (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__STRING (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__STRING (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__STRING (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VARIANT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__STRING (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__BOXED (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__BOXED (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__BOXED (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VARIANT (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1403s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1403s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1403s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1403s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1403s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1403s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1403s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1403s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1403s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1403s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1403s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1403s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1403s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1403s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1403s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1403s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1403s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1403s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::no-arg-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1403s # g_signal_new ("no-arg-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-b: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_b: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1403s # g_signal_new ("single-arg-signal-b", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_BOOLEAN); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-y: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_y: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1403s # g_signal_new ("single-arg-signal-y", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UCHAR); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-n: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_n: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1403s # g_signal_new ("single-arg-signal-n", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_INT); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-q: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_q: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1403s # g_signal_new ("single-arg-signal-q", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UINT); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-i: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_i: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1403s # g_signal_new ("single-arg-signal-i", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_INT); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-u: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_u: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1403s # g_signal_new ("single-arg-signal-u", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UINT); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-x: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_x: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1403s # g_signal_new ("single-arg-signal-x", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_INT64); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-t: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_t: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1403s # g_signal_new ("single-arg-signal-t", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_UINT64); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-d: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_d: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1403s # g_signal_new ("single-arg-signal-d", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_DOUBLE); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-s: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_s: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1403s # g_signal_new ("single-arg-signal-s", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRING); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-o: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_o: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1403s # g_signal_new ("single-arg-signal-o", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRING); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-g: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_g: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1403s # g_signal_new ("single-arg-signal-g", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRING); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-h: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_h: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1403s # g_signal_new ("single-arg-signal-h", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_VARIANT); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-ay: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_ay: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1403s # g_signal_new ("single-arg-signal-ay", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRING); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-as: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_as: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1403s # g_signal_new ("single-arg-signal-as", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRV); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-ao: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_ao: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1403s # g_signal_new ("single-arg-signal-ao", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRV); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-aay: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_aay: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1403s # g_signal_new ("single-arg-signal-aay", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_STRV); 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface::single-arg-signal-asv: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_asv: Argument. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1403s # g_signal_new ("single-arg-signal-asv", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1403s # G_TYPE_NONE, 1403s # 1, G_TYPE_VARIANT); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_no_arg_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "NoArgSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_no_arg_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_b: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_b: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalB" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_b ( 1403s # OrgProjectSignalingIface *object, 1403s # gboolean arg_an_b) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_y: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_y: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalY" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_y ( 1403s # OrgProjectSignalingIface *object, 1403s # guchar arg_an_y) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_n: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_n: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalN" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_n ( 1403s # OrgProjectSignalingIface *object, 1403s # gint16 arg_an_n) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_q: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_q: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalQ" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_q ( 1403s # OrgProjectSignalingIface *object, 1403s # guint16 arg_an_q) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_i: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_i: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalI" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_i ( 1403s # OrgProjectSignalingIface *object, 1403s # gint arg_an_i) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_u: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_u: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalU" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_u ( 1403s # OrgProjectSignalingIface *object, 1403s # guint arg_an_u) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_x: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_x: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalX" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_x ( 1403s # OrgProjectSignalingIface *object, 1403s # gint64 arg_an_x) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_t: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_t: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalT" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_t ( 1403s # OrgProjectSignalingIface *object, 1403s # guint64 arg_an_t) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_d: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_d: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalD" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_d ( 1403s # OrgProjectSignalingIface *object, 1403s # gdouble arg_an_d) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_s: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_s: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalS" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_s ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_s) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_o: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_o: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalO" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_o ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_o) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_g: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_g: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalG" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_g ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_g) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_h: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_h: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalH" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_h ( 1403s # OrgProjectSignalingIface *object, 1403s # GVariant *arg_an_h) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_ay: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalAY" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_ay) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_as: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_as: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalAS" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_as ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *const *arg_an_as) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_ao: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalAO" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *const *arg_an_ao) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_aay: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *const *arg_an_aay) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * @arg_an_asv: Argument to pass with the signal. 1403s # * 1403s # * Emits the "SingleArgSignalASV" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1403s # OrgProjectSignalingIface *object, 1403s # GVariant *arg_an_asv) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1403s # OrgProjectSignalingIface *object, 1403s # gboolean arg_an_b) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1403s # arg_an_b)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1403s # OrgProjectSignalingIface *object, 1403s # guchar arg_an_y) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1403s # arg_an_y)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1403s # OrgProjectSignalingIface *object, 1403s # gint16 arg_an_n) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1403s # arg_an_n)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1403s # OrgProjectSignalingIface *object, 1403s # guint16 arg_an_q) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1403s # arg_an_q)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1403s # OrgProjectSignalingIface *object, 1403s # gint arg_an_i) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1403s # arg_an_i)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1403s # OrgProjectSignalingIface *object, 1403s # guint arg_an_u) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1403s # arg_an_u)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1403s # OrgProjectSignalingIface *object, 1403s # gint64 arg_an_x) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1403s # arg_an_x)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1403s # OrgProjectSignalingIface *object, 1403s # guint64 arg_an_t) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1403s # arg_an_t)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1403s # OrgProjectSignalingIface *object, 1403s # gdouble arg_an_d) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1403s # arg_an_d)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_s) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1403s # arg_an_s)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_o) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1403s # arg_an_o)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_g) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1403s # arg_an_g)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1403s # OrgProjectSignalingIface *object, 1403s # GVariant *arg_an_h) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1403s # arg_an_h)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *arg_an_ay) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1403s # arg_an_ay)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *const *arg_an_as) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1403s # arg_an_as)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *const *arg_an_ao) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1403s # arg_an_ao)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1403s # OrgProjectSignalingIface *object, 1403s # const gchar *const *arg_an_aay) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1403s # arg_an_aay)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1403s # OrgProjectSignalingIface *object, 1403s # GVariant *arg_an_asv) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1403s # arg_an_asv)); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1403s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1403s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1403s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1403s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1403s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1403s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1403s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1403s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1403s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1403s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1403s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1403s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1403s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1403s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1403s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1403s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1403s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1403s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1403s # tmpdir: /tmp/tmpea9dcadk 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpea9dcadk/tmp_thn9wjj.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpea9dcadk/tmp_thn9wjj.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.UsefulInterface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectUsefulInterface 1403s # * @title: OrgProjectUsefulInterface 1403s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.UsefulInterface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-useful-interface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_useful_interface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_useful_interface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1403s # */ 1403s # 1403s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectUsefulInterface::simple-signal: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_useful_interface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_emit_simple_signal: 1403s # * @object: A #OrgProjectUsefulInterface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_useful_interface_emit_simple_signal ( 1403s # OrgProjectUsefulInterface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxy: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1403s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1403s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_useful_interface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # g_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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeleton: 1403s # * 1403s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectUsefulInterfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_useful_interface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_useful_interface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_useful_interface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1403s # { 1403s # _org_project_useful_interface_skeleton_handle_method_call, 1403s # _org_project_useful_interface_skeleton_handle_get_property, 1403s # _org_project_useful_interface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_useful_interface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_useful_interface_on_signal_simple_signal ( 1403s # OrgProjectUsefulInterface *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_useful_interface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1403s # } 1403s # 1403s # /** 1403s # * org_project_useful_interface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectUsefulInterface * 1403s # org_project_useful_interface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.OtherIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectOtherIface 1403s # * @title: OrgProjectOtherIface 1403s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.OtherIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.OtherIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-other-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_other_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_other_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_other_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectOtherIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.OtherIface. 1403s # */ 1403s # 1403s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectOtherIface::simple-signal: 1403s # * @object: A #OrgProjectOtherIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_other_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectOtherIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_other_iface_emit_simple_signal ( 1403s # OrgProjectOtherIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectOtherIfaceProxy: 1403s # * 1403s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectOtherIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectOtherIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_other_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_other_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherIface * 1403s # org_project_other_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherIface * 1403s # org_project_other_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_other_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_other_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherIface * 1403s # org_project_other_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherIface * 1403s # org_project_other_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectOtherIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectOtherIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_other_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_other_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_other_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1403s # { 1403s # _org_project_other_iface_skeleton_handle_method_call, 1403s # _org_project_other_iface_skeleton_handle_get_property, 1403s # _org_project_other_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_other_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_other_iface_on_signal_simple_signal ( 1403s # OrgProjectOtherIface *object) 1403s # { 1403s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_other_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectOtherIface * 1403s # org_project_other_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1403s # } 1403s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1403s # tmpdir: /tmp/tmpmp1besee 1403s # codegen: /usr/bin/gdbus-codegen 1403s # /tmp/tmpmp1besee/tmpjqgqcdqv.xml: 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # 1403s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmp1besee/tmpjqgqcdqv.xml', '--output', '-', '--body'] 1403s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1403s # Output: /* 1403s # * This file is generated by gdbus-codegen, do not modify it. 1403s # * 1403s # * The license of this code is the same as for the D-Bus interface description 1403s # * it was derived from. Note that it links to GLib, so must comply with the 1403s # * LGPL linking clauses. 1403s # */ 1403s # 1403s # #ifdef HAVE_CONFIG_H 1403s # # include "config.h" 1403s # #endif 1403s # 1403s # #include 1403s # #ifdef G_OS_UNIX 1403s # # include 1403s # #endif 1403s # 1403s # #ifdef G_ENABLE_DEBUG 1403s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1403s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1403s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1403s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1403s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1403s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1403s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1403s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1403s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1403s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1403s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1403s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1403s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1403s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1403s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1403s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1403s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1403s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1403s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1403s # #else /* !G_ENABLE_DEBUG */ 1403s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1403s # * Do not access GValues directly in your code. Instead, use the 1403s # * g_value_get_*() functions 1403s # */ 1403s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1403s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1403s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1403s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1403s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1403s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1403s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1403s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1403s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1403s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1403s # #endif /* !G_ENABLE_DEBUG */ 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusArgInfo parent_struct; 1403s # gboolean use_gvariant; 1403s # } _ExtendedGDBusArgInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusMethodInfo parent_struct; 1403s # const gchar *signal_name; 1403s # gboolean pass_fdlist; 1403s # } _ExtendedGDBusMethodInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusSignalInfo parent_struct; 1403s # const gchar *signal_name; 1403s # } _ExtendedGDBusSignalInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusPropertyInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # guint use_gvariant : 1; 1403s # guint emits_changed_signal : 1; 1403s # } _ExtendedGDBusPropertyInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # GDBusInterfaceInfo parent_struct; 1403s # const gchar *hyphen_name; 1403s # } _ExtendedGDBusInterfaceInfo; 1403s # 1403s # typedef struct 1403s # { 1403s # const _ExtendedGDBusPropertyInfo *info; 1403s # guint prop_id; 1403s # GValue orig_value; /* the value before the change */ 1403s # } ChangedProperty; 1403s # 1403s # static void 1403s # _changed_property_free (ChangedProperty *data) 1403s # { 1403s # g_value_unset (&data->orig_value); 1403s # g_free (data); 1403s # } 1403s # 1403s # static gboolean 1403s # _g_strv_equal0 (gchar **a, gchar **b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # guint n; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # if (g_strv_length (a) != g_strv_length (b)) 1403s # goto out; 1403s # for (n = 0; a[n] != NULL; n++) 1403s # if (g_strcmp0 (a[n], b[n]) != 0) 1403s # goto out; 1403s # ret = TRUE; 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _g_variant_equal0 (GVariant *a, GVariant *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # if (a == NULL && b == NULL) 1403s # { 1403s # ret = TRUE; 1403s # goto out; 1403s # } 1403s # if (a == NULL || b == NULL) 1403s # goto out; 1403s # ret = g_variant_equal (a, b); 1403s # out: 1403s # return ret; 1403s # } 1403s # 1403s # G_GNUC_UNUSED static gboolean 1403s # _g_value_equal (const GValue *a, const GValue *b) 1403s # { 1403s # gboolean ret = FALSE; 1403s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1403s # switch (G_VALUE_TYPE (a)) 1403s # { 1403s # case G_TYPE_BOOLEAN: 1403s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1403s # break; 1403s # case G_TYPE_UCHAR: 1403s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1403s # break; 1403s # case G_TYPE_INT: 1403s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1403s # break; 1403s # case G_TYPE_UINT: 1403s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1403s # break; 1403s # case G_TYPE_INT64: 1403s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1403s # break; 1403s # case G_TYPE_UINT64: 1403s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1403s # break; 1403s # case G_TYPE_DOUBLE: 1403s # { 1403s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1403s # gdouble da = g_value_get_double (a); 1403s # gdouble db = g_value_get_double (b); 1403s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1403s # } 1403s # break; 1403s # case G_TYPE_STRING: 1403s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1403s # break; 1403s # case G_TYPE_VARIANT: 1403s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1403s # break; 1403s # default: 1403s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1403s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1403s # else 1403s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1403s # break; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.SignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectSignalingIface 1403s # * @title: OrgProjectSignalingIface 1403s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.SignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_emit_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectSignalingIface *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1403s # } 1403s # 1403s # /** 1403s # * org_project_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectSignalingIface * 1403s # org_project_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ 1403s # * Code for interface org.project.OtherSignalingIface 1403s # * ------------------------------------------------------------------------ 1403s # */ 1403s # 1403s # /** 1403s # * SECTION:OrgProjectOtherSignalingIface 1403s # * @title: OrgProjectOtherSignalingIface 1403s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1403s # * 1403s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1403s # */ 1403s # 1403s # enum 1403s # { 1403s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1403s # }; 1403s # 1403s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1403s # 1403s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1403s # 1403s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "SimpleSignal", 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "simple-signal" 1403s # }; 1403s # 1403s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1403s # { 1403s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1403s # NULL 1403s # }; 1403s # 1403s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1403s # { 1403s # { 1403s # -1, 1403s # (gchar *) "org.project.OtherSignalingIface", 1403s # NULL, 1403s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1403s # NULL, 1403s # NULL 1403s # }, 1403s # "org-project-other-signaling-iface", 1403s # }; 1403s # 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_interface_info: 1403s # * 1403s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1403s # * 1403s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1403s # */ 1403s # GDBusInterfaceInfo * 1403s # org_project_other_signaling_iface_interface_info (void) 1403s # { 1403s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_override_properties: 1403s # * @klass: The class structure for a #GObject derived class. 1403s # * @property_id_begin: The property id to assign to the first overridden property. 1403s # * 1403s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1403s # * The properties are overridden in the order they are defined. 1403s # * 1403s # * Returns: The last property id. 1403s # */ 1403s # guint 1403s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1403s # { 1403s # return property_id_begin - 1; 1403s # } 1403s # 1403s # 1403s # inline static void 1403s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1403s # GClosure *closure, 1403s # GValue *return_value, 1403s # unsigned int n_param_values, 1403s # const GValue *param_values, 1403s # void *invocation_hint, 1403s # void *marshal_data) 1403s # { 1403s # g_cclosure_marshal_VOID__VOID (closure, 1403s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1403s # } 1403s # 1403s # 1403s # /** 1403s # * OrgProjectOtherSignalingIface: 1403s # * 1403s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherSignalingIfaceIface: 1403s # * @parent_iface: The parent interface. 1403s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1403s # * 1403s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1403s # */ 1403s # 1403s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1403s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1403s # { 1403s # /* GObject signals for received D-Bus signals: */ 1403s # /** 1403s # * OrgProjectOtherSignalingIface::simple-signal: 1403s # * @object: A #OrgProjectOtherSignalingIface. 1403s # * 1403s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1403s # * 1403s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1403s # */ 1403s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1403s # g_signal_new ("simple-signal", 1403s # G_TYPE_FROM_INTERFACE (iface), 1403s # G_SIGNAL_RUN_LAST, 1403s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1403s # NULL, 1403s # NULL, 1403s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1403s # G_TYPE_NONE, 1403s # 0); 1403s # 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_emit_simple_signal: 1403s # * @object: A #OrgProjectOtherSignalingIface. 1403s # * 1403s # * Emits the "SimpleSignal" D-Bus signal. 1403s # */ 1403s # void 1403s # org_project_other_signaling_iface_emit_simple_signal ( 1403s # OrgProjectOtherSignalingIface *object) 1403s # { 1403s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1403s # } 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectOtherSignalingIfaceProxy: 1403s # * 1403s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherSignalingIfaceProxyClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1403s # */ 1403s # 1403s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1403s # { 1403s # GData *qdata; 1403s # }; 1403s # 1403s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1403s # { 1403s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1403s # g_datalist_clear (&proxy->priv->qdata); 1403s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1403s # guint prop_id G_GNUC_UNUSED, 1403s # const GValue *value G_GNUC_UNUSED, 1403s # GParamSpec *pspec G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1403s # const gchar *sender_name G_GNUC_UNUSED, 1403s # const gchar *signal_name, 1403s # GVariant *parameters) 1403s # { 1403s # _ExtendedGDBusSignalInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # gsize n; 1403s # guint signal_id; 1403s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1403s # if (info == NULL) 1403s # return; 1403s # num_params = g_variant_n_children (parameters); 1403s # paramv = g_new0 (GValue, num_params + 1); 1403s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[0], proxy); 1403s # g_variant_iter_init (&iter, parameters); 1403s # n = 1; 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1403s # g_signal_emitv (paramv, signal_id, 0, NULL); 1403s # for (n = 0; n < num_params + 1; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1403s # GVariant *changed_properties, 1403s # const gchar *const *invalidated_properties) 1403s # { 1403s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1403s # guint n; 1403s # const gchar *key; 1403s # GVariantIter *iter; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # g_variant_get (changed_properties, "a{sv}", &iter); 1403s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1403s # g_datalist_remove_data (&proxy->priv->qdata, key); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # g_variant_iter_free (iter); 1403s # for (n = 0; invalidated_properties[n] != NULL; n++) 1403s # { 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1403s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1403s # if (info != NULL) 1403s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1403s # } 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1403s # #else 1403s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1403s # #endif 1403s # 1403s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusProxyClass *proxy_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1403s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1403s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1403s # 1403s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1403s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1403s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_proxy_new: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_other_signaling_iface_proxy_new ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_proxy_new_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherSignalingIface * 1403s # org_project_other_signaling_iface_proxy_new_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_proxy_new_sync: 1403s # * @connection: A #GDBusConnection. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherSignalingIface * 1403s # org_project_other_signaling_iface_proxy_new_sync ( 1403s # GDBusConnection *connection, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_proxy_new_for_bus: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1403s # * @user_data: User data to pass to @callback. 1403s # * 1403s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1403s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1403s # * 1403s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1403s # */ 1403s # void 1403s # org_project_other_signaling_iface_proxy_new_for_bus ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GAsyncReadyCallback callback, 1403s # gpointer user_data) 1403s # { 1403s # 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); 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1403s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherSignalingIface * 1403s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1403s # GAsyncResult *res, 1403s # GError **error) 1403s # { 1403s # GObject *ret; 1403s # GObject *source_object; 1403s # source_object = g_async_result_get_source_object (res); 1403s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1403s # g_object_unref (source_object); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1403s # * @bus_type: A #GBusType. 1403s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1403s # * @name: A bus name (well-known or unique). 1403s # * @object_path: An object path. 1403s # * @cancellable: (nullable): A #GCancellable or %NULL. 1403s # * @error: Return location for error or %NULL 1403s # * 1403s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1403s # * 1403s # * The calling thread is blocked until a reply is received. 1403s # * 1403s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1403s # */ 1403s # OrgProjectOtherSignalingIface * 1403s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1403s # GBusType bus_type, 1403s # GDBusProxyFlags flags, 1403s # const gchar *name, 1403s # const gchar *object_path, 1403s # GCancellable *cancellable, 1403s # GError **error) 1403s # { 1403s # GInitable *ret; 1403s # 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); 1403s # if (ret != NULL) 1403s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1403s # else 1403s # return NULL; 1403s # } 1403s # 1403s # 1403s # /* ------------------------------------------------------------------------ */ 1403s # 1403s # /** 1403s # * OrgProjectOtherSignalingIfaceSkeleton: 1403s # * 1403s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1403s # */ 1403s # 1403s # /** 1403s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1403s # * @parent_class: The parent class. 1403s # * 1403s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1403s # */ 1403s # 1403s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1403s # { 1403s # GValue *properties; 1403s # GList *changed_properties; 1403s # GSource *changed_properties_idle_source; 1403s # GMainContext *context; 1403s # GMutex lock; 1403s # }; 1403s # 1403s # static void 1403s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name, 1403s # const gchar *method_name, 1403s # GVariant *parameters, 1403s # GDBusMethodInvocation *invocation, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1403s # _ExtendedGDBusMethodInfo *info; 1403s # GVariantIter iter; 1403s # GVariant *child; 1403s # GValue *paramv; 1403s # gsize num_params; 1403s # guint num_extra; 1403s # gsize n; 1403s # guint signal_id; 1403s # GValue return_value = G_VALUE_INIT; 1403s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1403s # g_assert (info != NULL); 1403s # num_params = g_variant_n_children (parameters); 1403s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1403s # n = 0; 1403s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1403s # g_value_set_object (¶mv[n++], skeleton); 1403s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1403s # g_value_set_object (¶mv[n++], invocation); 1403s # if (info->pass_fdlist) 1403s # { 1403s # #ifdef G_OS_UNIX 1403s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1403s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1403s # #else 1403s # g_assert_not_reached (); 1403s # #endif 1403s # } 1403s # g_variant_iter_init (&iter, parameters); 1403s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1403s # { 1403s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1403s # if (arg_info->use_gvariant) 1403s # { 1403s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1403s # g_value_set_variant (¶mv[n], child); 1403s # n++; 1403s # } 1403s # else 1403s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1403s # g_variant_unref (child); 1403s # } 1403s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1403s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1403s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1403s # if (!g_value_get_boolean (&return_value)) 1403s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1403s # g_value_unset (&return_value); 1403s # for (n = 0; n < num_params + num_extra; n++) 1403s # g_value_unset (¶mv[n]); 1403s # g_free (paramv); 1403s # } 1403s # 1403s # static GVariant * 1403s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # GVariant *ret; 1403s # ret = NULL; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # g_value_init (&value, pspec->value_type); 1403s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1403s # g_value_unset (&value); 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static gboolean 1403s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1403s # GDBusConnection *connection G_GNUC_UNUSED, 1403s # const gchar *sender G_GNUC_UNUSED, 1403s # const gchar *object_path G_GNUC_UNUSED, 1403s # const gchar *interface_name G_GNUC_UNUSED, 1403s # const gchar *property_name, 1403s # GVariant *variant, 1403s # GError **error, 1403s # gpointer user_data) 1403s # { 1403s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1403s # GValue value = G_VALUE_INIT; 1403s # GParamSpec *pspec; 1403s # _ExtendedGDBusPropertyInfo *info; 1403s # gboolean ret; 1403s # ret = FALSE; 1403s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1403s # g_assert (info != NULL); 1403s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1403s # if (pspec == NULL) 1403s # { 1403s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1403s # } 1403s # else 1403s # { 1403s # if (info->use_gvariant) 1403s # g_value_set_variant (&value, variant); 1403s # else 1403s # g_dbus_gvariant_to_gvalue (variant, &value); 1403s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1403s # g_value_unset (&value); 1403s # ret = TRUE; 1403s # } 1403s # return ret; 1403s # } 1403s # 1403s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1403s # { 1403s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1403s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1403s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1403s # {NULL} 1403s # }; 1403s # 1403s # static GDBusInterfaceInfo * 1403s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return org_project_other_signaling_iface_interface_info (); 1403s # } 1403s # 1403s # static GDBusInterfaceVTable * 1403s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1403s # { 1403s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1403s # } 1403s # 1403s # static GVariant * 1403s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1403s # { 1403s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1403s # 1403s # GVariantBuilder builder; 1403s # guint n; 1403s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1403s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1403s # goto out; 1403s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1403s # { 1403s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1403s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1403s # { 1403s # GVariant *value; 1403s # 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); 1403s # if (value != NULL) 1403s # { 1403s # g_variant_take_ref (value); 1403s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1403s # g_variant_unref (value); 1403s # } 1403s # } 1403s # } 1403s # out: 1403s # return g_variant_builder_end (&builder); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1403s # { 1403s # } 1403s # 1403s # static void 1403s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1403s # OrgProjectOtherSignalingIface *object) 1403s # { 1403s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1403s # 1403s # GList *connections, *l; 1403s # GVariant *signal_variant; 1403s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1403s # 1403s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1403s # for (l = connections; l != NULL; l = l->next) 1403s # { 1403s # GDBusConnection *connection = l->data; 1403s # g_dbus_connection_emit_signal (connection, 1403s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1403s # signal_variant, NULL); 1403s # } 1403s # g_variant_unref (signal_variant); 1403s # g_list_free_full (connections, g_object_unref); 1403s # } 1403s # 1403s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #else 1403s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1403s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1403s # 1403s # #endif 1403s # static void 1403s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1403s # { 1403s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1403s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1403s # if (skeleton->priv->changed_properties_idle_source != NULL) 1403s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1403s # g_main_context_unref (skeleton->priv->context); 1403s # g_mutex_clear (&skeleton->priv->lock); 1403s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1403s # { 1403s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1403s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1403s # #else 1403s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1403s # #endif 1403s # 1403s # g_mutex_init (&skeleton->priv->lock); 1403s # skeleton->priv->context = g_main_context_ref_thread_default (); 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1403s # { 1403s # GObjectClass *gobject_class; 1403s # GDBusInterfaceSkeletonClass *skeleton_class; 1403s # 1403s # gobject_class = G_OBJECT_CLASS (klass); 1403s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1403s # 1403s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1403s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1403s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1403s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1403s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1403s # 1403s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1403s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1403s # #endif 1403s # } 1403s # 1403s # static void 1403s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1403s # { 1403s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1403s # } 1403s # 1403s # /** 1403s # * org_project_other_signaling_iface_skeleton_new: 1403s # * 1403s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1403s # * 1403s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1403s # */ 1403s # OrgProjectOtherSignalingIface * 1403s # org_project_other_signaling_iface_skeleton_new (void) 1403s # { 1403s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1403s # } 1404s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1404s # tmpdir: /tmp/tmp_8qkl23r 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp_8qkl23r/tmp7w5pt6w3.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp7w5pt6w3.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_b", 1404s # (gchar *) "b", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalB", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-b" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-b: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_b: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1404s # g_signal_new ("single-arg-signal-b", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_BOOLEAN); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_b: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_b: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalB" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_b ( 1404s # OrgProjectSignalingIface *object, 1404s # gboolean arg_arg_b) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1404s # OrgProjectSignalingIface *object, 1404s # gboolean arg_arg_b) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1404s # arg_arg_b)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpf928x_4c.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpf928x_4c.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_y", 1404s # (gchar *) "y", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalY", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-y" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__UCHAR (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-y: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_y: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1404s # g_signal_new ("single-arg-signal-y", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_UCHAR); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_y: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_y: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalY" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_y ( 1404s # OrgProjectSignalingIface *object, 1404s # guchar arg_arg_y) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1404s # OrgProjectSignalingIface *object, 1404s # guchar arg_arg_y) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1404s # arg_arg_y)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpac239q9r.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpac239q9r.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_n", 1404s # (gchar *) "n", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalN", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-n" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__INT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-n: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_n: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1404s # g_signal_new ("single-arg-signal-n", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_INT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_n: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_n: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalN" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_n ( 1404s # OrgProjectSignalingIface *object, 1404s # gint16 arg_arg_n) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1404s # OrgProjectSignalingIface *object, 1404s # gint16 arg_arg_n) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1404s # arg_arg_n)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpdjqiyucu.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpdjqiyucu.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_q", 1404s # (gchar *) "q", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalQ", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-q" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__UINT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-q: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_q: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1404s # g_signal_new ("single-arg-signal-q", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_UINT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_q: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_q: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalQ" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_q ( 1404s # OrgProjectSignalingIface *object, 1404s # guint16 arg_arg_q) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1404s # OrgProjectSignalingIface *object, 1404s # guint16 arg_arg_q) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1404s # arg_arg_q)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpro4gubiy.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpro4gubiy.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_i", 1404s # (gchar *) "i", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalI", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-i" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__INT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-i: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_i: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1404s # g_signal_new ("single-arg-signal-i", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_INT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_i: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_i: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalI" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_i ( 1404s # OrgProjectSignalingIface *object, 1404s # gint arg_arg_i) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1404s # OrgProjectSignalingIface *object, 1404s # gint arg_arg_i) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1404s # arg_arg_i)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpyw_vnx0y.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpyw_vnx0y.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_u", 1404s # (gchar *) "u", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalU", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-u" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__UINT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-u: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_u: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1404s # g_signal_new ("single-arg-signal-u", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_UINT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_u: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_u: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalU" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_u ( 1404s # OrgProjectSignalingIface *object, 1404s # guint arg_arg_u) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1404s # OrgProjectSignalingIface *object, 1404s # guint arg_arg_u) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1404s # arg_arg_u)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpafxod94r.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpafxod94r.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static void 1404s # _g_dbus_codegen_marshal_VOID__INT64 ( 1404s # GClosure *closure, 1404s # GValue *return_value G_GNUC_UNUSED, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint G_GNUC_UNUSED, 1404s # void *marshal_data) 1404s # { 1404s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1404s # (void *data1, 1404s # gint64 arg_arg_x, 1404s # void *data2); 1404s # _GDbusCodegenMarshalVoid_Int64Func callback; 1404s # GCClosure *cc = (GCClosure*) closure; 1404s # void *data1, *data2; 1404s # 1404s # g_return_if_fail (n_param_values == 2); 1404s # 1404s # if (G_CCLOSURE_SWAP_DATA (closure)) 1404s # { 1404s # data1 = closure->data; 1404s # data2 = g_value_peek_pointer (param_values + 0); 1404s # } 1404s # else 1404s # { 1404s # data1 = g_value_peek_pointer (param_values + 0); 1404s # data2 = closure->data; 1404s # } 1404s # 1404s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1404s # (marshal_data ? marshal_data : cc->callback); 1404s # 1404s # callback (data1, 1404s # g_marshal_value_peek_int64 (param_values + 1), 1404s # data2); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_x", 1404s # (gchar *) "x", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalX", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-x" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-x: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_x: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1404s # g_signal_new ("single-arg-signal-x", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_INT64); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_x: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_x: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalX" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_x ( 1404s # OrgProjectSignalingIface *object, 1404s # gint64 arg_arg_x) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1404s # OrgProjectSignalingIface *object, 1404s # gint64 arg_arg_x) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1404s # arg_arg_x)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp5b0vjn3b.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp5b0vjn3b.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static void 1404s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1404s # GClosure *closure, 1404s # GValue *return_value G_GNUC_UNUSED, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint G_GNUC_UNUSED, 1404s # void *marshal_data) 1404s # { 1404s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1404s # (void *data1, 1404s # guint64 arg_arg_t, 1404s # void *data2); 1404s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1404s # GCClosure *cc = (GCClosure*) closure; 1404s # void *data1, *data2; 1404s # 1404s # g_return_if_fail (n_param_values == 2); 1404s # 1404s # if (G_CCLOSURE_SWAP_DATA (closure)) 1404s # { 1404s # data1 = closure->data; 1404s # data2 = g_value_peek_pointer (param_values + 0); 1404s # } 1404s # else 1404s # { 1404s # data1 = g_value_peek_pointer (param_values + 0); 1404s # data2 = closure->data; 1404s # } 1404s # 1404s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1404s # (marshal_data ? marshal_data : cc->callback); 1404s # 1404s # callback (data1, 1404s # g_marshal_value_peek_uint64 (param_values + 1), 1404s # data2); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_t", 1404s # (gchar *) "t", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalT", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-t" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-t: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_t: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1404s # g_signal_new ("single-arg-signal-t", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_UINT64); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_t: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_t: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalT" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_t ( 1404s # OrgProjectSignalingIface *object, 1404s # guint64 arg_arg_t) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1404s # OrgProjectSignalingIface *object, 1404s # guint64 arg_arg_t) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1404s # arg_arg_t)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp2obhepa5.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp2obhepa5.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_d", 1404s # (gchar *) "d", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalD", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-d" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__DOUBLE (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-d: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_d: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1404s # g_signal_new ("single-arg-signal-d", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_DOUBLE); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_d: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_d: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalD" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_d ( 1404s # OrgProjectSignalingIface *object, 1404s # gdouble arg_arg_d) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1404s # OrgProjectSignalingIface *object, 1404s # gdouble arg_arg_d) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1404s # arg_arg_d)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpwyhrzcgu.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpwyhrzcgu.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_s", 1404s # (gchar *) "s", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalS", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-s" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-s: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_s: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1404s # g_signal_new ("single-arg-signal-s", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_s: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_s: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalS" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_s ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_s) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_s) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1404s # arg_arg_s)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpl4ybs4ub.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpl4ybs4ub.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_o", 1404s # (gchar *) "o", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalO", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-o" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-o: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_o: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1404s # g_signal_new ("single-arg-signal-o", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_o: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_o: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalO" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_o ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_o) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_o) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1404s # arg_arg_o)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp6h78e8x2.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp6h78e8x2.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_g", 1404s # (gchar *) "g", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalG", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-g" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-g: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_g: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1404s # g_signal_new ("single-arg-signal-g", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_g: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_g: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalG" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_g ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_g) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_g) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1404s # arg_arg_g)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp4upwwqm2.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp4upwwqm2.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_h", 1404s # (gchar *) "h", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalH", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-h" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VARIANT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-h: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_h: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1404s # g_signal_new ("single-arg-signal-h", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_VARIANT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_h: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_h: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalH" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_h ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_h) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_h) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1404s # arg_arg_h)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpkj9qnj0x.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpkj9qnj0x.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_ay", 1404s # (gchar *) "ay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAy", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-ay" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__STRING (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-ay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ay: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1404s # g_signal_new ("single-arg-signal-ay", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRING); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ay: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAy" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_ay) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *arg_arg_ay) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1404s # arg_arg_ay)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp6jihzr8z.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp6jihzr8z.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_as", 1404s # (gchar *) "as", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAs", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-as" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOXED (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-as: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_as: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1404s # g_signal_new ("single-arg-signal-as", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRV); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_as: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_as: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAs" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_as ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_as) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_as) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1404s # arg_arg_as)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp5ygvrnvf.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp5ygvrnvf.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_ao", 1404s # (gchar *) "ao", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAo", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-ao" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOXED (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-ao: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ao: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1404s # g_signal_new ("single-arg-signal-ao", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRV); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_ao: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAo" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_ao) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_ao) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1404s # arg_arg_ao)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmpj_v_bjnm.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmpj_v_bjnm.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_aay", 1404s # (gchar *) "aay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAay", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-aay" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__BOXED (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-aay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_aay: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1404s # g_signal_new ("single-arg-signal-aay", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_STRV); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_aay: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAay" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_aay) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1404s # OrgProjectSignalingIface *object, 1404s # const gchar *const *arg_arg_aay) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1404s # arg_arg_aay)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s # /tmp/tmp_8qkl23r/tmp1godwoaw.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8qkl23r/tmp1godwoaw.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "arg_asv", 1404s # (gchar *) "a{sv}", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SingleArgSignalAsv", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "single-arg-signal-asv" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VARIANT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::single-arg-signal-asv: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_asv: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1404s # g_signal_new ("single-arg-signal-asv", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1404s # G_TYPE_NONE, 1404s # 1, G_TYPE_VARIANT); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_arg_asv: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_asv) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1404s # OrgProjectSignalingIface *object, 1404s # GVariant *arg_arg_asv) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1404s # arg_arg_asv)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1404s # tmpdir: /tmp/tmpxpog_wyc 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpxpog_wyc/tmpamemiqcz.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxpog_wyc/tmpamemiqcz.xml', '--output', '-', '--body'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifdef HAVE_CONFIG_H 1404s # # include "config.h" 1404s # #endif 1404s # 1404s # #include 1404s # #ifdef G_OS_UNIX 1404s # # include 1404s # #endif 1404s # 1404s # #ifdef G_ENABLE_DEBUG 1404s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1404s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1404s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1404s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1404s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1404s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1404s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1404s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1404s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1404s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1404s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1404s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1404s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1404s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1404s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1404s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1404s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1404s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1404s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1404s # #else /* !G_ENABLE_DEBUG */ 1404s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1404s # * Do not access GValues directly in your code. Instead, use the 1404s # * g_value_get_*() functions 1404s # */ 1404s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1404s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1404s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1404s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1404s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1404s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1404s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1404s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1404s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1404s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1404s # #endif /* !G_ENABLE_DEBUG */ 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusArgInfo parent_struct; 1404s # gboolean use_gvariant; 1404s # } _ExtendedGDBusArgInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusMethodInfo parent_struct; 1404s # const gchar *signal_name; 1404s # gboolean pass_fdlist; 1404s # } _ExtendedGDBusMethodInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusSignalInfo parent_struct; 1404s # const gchar *signal_name; 1404s # } _ExtendedGDBusSignalInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusPropertyInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # guint use_gvariant : 1; 1404s # guint emits_changed_signal : 1; 1404s # } _ExtendedGDBusPropertyInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # GDBusInterfaceInfo parent_struct; 1404s # const gchar *hyphen_name; 1404s # } _ExtendedGDBusInterfaceInfo; 1404s # 1404s # typedef struct 1404s # { 1404s # const _ExtendedGDBusPropertyInfo *info; 1404s # guint prop_id; 1404s # GValue orig_value; /* the value before the change */ 1404s # } ChangedProperty; 1404s # 1404s # static void 1404s # _changed_property_free (ChangedProperty *data) 1404s # { 1404s # g_value_unset (&data->orig_value); 1404s # g_free (data); 1404s # } 1404s # 1404s # static gboolean 1404s # _g_strv_equal0 (gchar **a, gchar **b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # guint n; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # if (g_strv_length (a) != g_strv_length (b)) 1404s # goto out; 1404s # for (n = 0; a[n] != NULL; n++) 1404s # if (g_strcmp0 (a[n], b[n]) != 0) 1404s # goto out; 1404s # ret = TRUE; 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _g_variant_equal0 (GVariant *a, GVariant *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # if (a == NULL && b == NULL) 1404s # { 1404s # ret = TRUE; 1404s # goto out; 1404s # } 1404s # if (a == NULL || b == NULL) 1404s # goto out; 1404s # ret = g_variant_equal (a, b); 1404s # out: 1404s # return ret; 1404s # } 1404s # 1404s # G_GNUC_UNUSED static gboolean 1404s # _g_value_equal (const GValue *a, const GValue *b) 1404s # { 1404s # gboolean ret = FALSE; 1404s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1404s # switch (G_VALUE_TYPE (a)) 1404s # { 1404s # case G_TYPE_BOOLEAN: 1404s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1404s # break; 1404s # case G_TYPE_UCHAR: 1404s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1404s # break; 1404s # case G_TYPE_INT: 1404s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1404s # break; 1404s # case G_TYPE_UINT: 1404s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1404s # break; 1404s # case G_TYPE_INT64: 1404s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1404s # break; 1404s # case G_TYPE_UINT64: 1404s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1404s # break; 1404s # case G_TYPE_DOUBLE: 1404s # { 1404s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1404s # gdouble da = g_value_get_double (a); 1404s # gdouble db = g_value_get_double (b); 1404s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1404s # } 1404s # break; 1404s # case G_TYPE_STRING: 1404s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1404s # break; 1404s # case G_TYPE_VARIANT: 1404s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1404s # break; 1404s # default: 1404s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1404s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1404s # else 1404s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1404s # break; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static void 1404s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1404s # GClosure *closure, 1404s # GValue *return_value G_GNUC_UNUSED, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint G_GNUC_UNUSED, 1404s # void *marshal_data) 1404s # { 1404s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1404s # (void *data1, 1404s # gboolean arg_an_b, 1404s # guchar arg_an_y, 1404s # gint16 arg_an_n, 1404s # guint16 arg_an_q, 1404s # gint arg_an_i, 1404s # guint arg_an_u, 1404s # gint64 arg_an_x, 1404s # guint64 arg_an_t, 1404s # gdouble arg_an_d, 1404s # const gchar *arg_an_s, 1404s # const gchar *arg_an_o, 1404s # const gchar *arg_an_g, 1404s # GVariant *arg_an_h, 1404s # const gchar *arg_an_ay, 1404s # const gchar *const *arg_an_as, 1404s # const gchar *const *arg_an_ao, 1404s # const gchar *const *arg_an_aay, 1404s # GVariant *arg_an_asv, 1404s # void *data2); 1404s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1404s # GCClosure *cc = (GCClosure*) closure; 1404s # void *data1, *data2; 1404s # 1404s # g_return_if_fail (n_param_values == 19); 1404s # 1404s # if (G_CCLOSURE_SWAP_DATA (closure)) 1404s # { 1404s # data1 = closure->data; 1404s # data2 = g_value_peek_pointer (param_values + 0); 1404s # } 1404s # else 1404s # { 1404s # data1 = g_value_peek_pointer (param_values + 0); 1404s # data2 = closure->data; 1404s # } 1404s # 1404s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1404s # (marshal_data ? marshal_data : cc->callback); 1404s # 1404s # callback (data1, 1404s # g_marshal_value_peek_boolean (param_values + 1), 1404s # g_marshal_value_peek_uchar (param_values + 2), 1404s # g_marshal_value_peek_int (param_values + 3), 1404s # g_marshal_value_peek_uint (param_values + 4), 1404s # g_marshal_value_peek_int (param_values + 5), 1404s # g_marshal_value_peek_uint (param_values + 6), 1404s # g_marshal_value_peek_int64 (param_values + 7), 1404s # g_marshal_value_peek_uint64 (param_values + 8), 1404s # g_marshal_value_peek_double (param_values + 9), 1404s # g_marshal_value_peek_string (param_values + 10), 1404s # g_marshal_value_peek_string (param_values + 11), 1404s # g_marshal_value_peek_string (param_values + 12), 1404s # g_marshal_value_peek_variant (param_values + 13), 1404s # g_marshal_value_peek_string (param_values + 14), 1404s # g_marshal_value_peek_boxed (param_values + 15), 1404s # g_marshal_value_peek_boxed (param_values + 16), 1404s # g_marshal_value_peek_boxed (param_values + 17), 1404s # g_marshal_value_peek_variant (param_values + 18), 1404s # data2); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ 1404s # * Code for interface org.project.SignalingIface 1404s # * ------------------------------------------------------------------------ 1404s # */ 1404s # 1404s # /** 1404s # * SECTION:OrgProjectSignalingIface 1404s # * @title: OrgProjectSignalingIface 1404s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1404s # * 1404s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1404s # */ 1404s # 1404s # enum 1404s # { 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1404s # }; 1404s # 1404s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1404s # 1404s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SimpleSignal", 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "simple-signal" 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_b", 1404s # (gchar *) "b", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_y", 1404s # (gchar *) "y", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_n", 1404s # (gchar *) "n", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_q", 1404s # (gchar *) "q", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_i", 1404s # (gchar *) "i", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_u", 1404s # (gchar *) "u", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_x", 1404s # (gchar *) "x", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_t", 1404s # (gchar *) "t", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_d", 1404s # (gchar *) "d", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_s", 1404s # (gchar *) "s", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_o", 1404s # (gchar *) "o", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_g", 1404s # (gchar *) "g", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_h", 1404s # (gchar *) "h", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_ay", 1404s # (gchar *) "ay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_as", 1404s # (gchar *) "as", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_ao", 1404s # (gchar *) "ao", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_aay", 1404s # (gchar *) "aay", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "an_asv", 1404s # (gchar *) "a{sv}", 1404s # NULL 1404s # }, 1404s # FALSE 1404s # }; 1404s # 1404s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "SignalWithManyArgs", 1404s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1404s # NULL 1404s # }, 1404s # "signal-with-many-args" 1404s # }; 1404s # 1404s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1404s # { 1404s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1404s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1404s # NULL 1404s # }; 1404s # 1404s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1404s # { 1404s # { 1404s # -1, 1404s # (gchar *) "org.project.SignalingIface", 1404s # NULL, 1404s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1404s # NULL, 1404s # NULL 1404s # }, 1404s # "org-project-signaling-iface", 1404s # }; 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_interface_info: 1404s # * 1404s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1404s # * 1404s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1404s # */ 1404s # GDBusInterfaceInfo * 1404s # org_project_signaling_iface_interface_info (void) 1404s # { 1404s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_override_properties: 1404s # * @klass: The class structure for a #GObject derived class. 1404s # * @property_id_begin: The property id to assign to the first overridden property. 1404s # * 1404s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1404s # * The properties are overridden in the order they are defined. 1404s # * 1404s # * Returns: The last property id. 1404s # */ 1404s # guint 1404s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1404s # { 1404s # return property_id_begin - 1; 1404s # } 1404s # 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_simple_signal ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # g_cclosure_marshal_VOID__VOID (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # inline static void 1404s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1404s # GClosure *closure, 1404s # GValue *return_value, 1404s # unsigned int n_param_values, 1404s # const GValue *param_values, 1404s # void *invocation_hint, 1404s # void *marshal_data) 1404s # { 1404s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1404s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1404s # } 1404s # 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface: 1404s # * 1404s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceIface: 1404s # * @parent_iface: The parent interface. 1404s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1404s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1404s # * 1404s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1404s # */ 1404s # 1404s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1404s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1404s # 1404s # static void 1404s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # /* GObject signals for received D-Bus signals: */ 1404s # /** 1404s # * OrgProjectSignalingIface::simple-signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1404s # g_signal_new ("simple-signal", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_simple_signal, 1404s # G_TYPE_NONE, 1404s # 0); 1404s # 1404s # /** 1404s # * OrgProjectSignalingIface::signal-with-many-args: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_an_b: Argument. 1404s # * @arg_an_y: Argument. 1404s # * @arg_an_n: Argument. 1404s # * @arg_an_q: Argument. 1404s # * @arg_an_i: Argument. 1404s # * @arg_an_u: Argument. 1404s # * @arg_an_x: Argument. 1404s # * @arg_an_t: Argument. 1404s # * @arg_an_d: Argument. 1404s # * @arg_an_s: Argument. 1404s # * @arg_an_o: Argument. 1404s # * @arg_an_g: Argument. 1404s # * @arg_an_h: Argument. 1404s # * @arg_an_ay: Argument. 1404s # * @arg_an_as: Argument. 1404s # * @arg_an_ao: Argument. 1404s # * @arg_an_aay: Argument. 1404s # * @arg_an_asv: Argument. 1404s # * 1404s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1404s # * 1404s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1404s # */ 1404s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1404s # g_signal_new ("signal-with-many-args", 1404s # G_TYPE_FROM_INTERFACE (iface), 1404s # G_SIGNAL_RUN_LAST, 1404s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1404s # NULL, 1404s # NULL, 1404s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1404s # G_TYPE_NONE, 1404s # 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); 1404s # 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_simple_signal: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * 1404s # * Emits the "SimpleSignal" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_emit_signal_with_many_args: 1404s # * @object: A #OrgProjectSignalingIface. 1404s # * @arg_an_b: Argument to pass with the signal. 1404s # * @arg_an_y: Argument to pass with the signal. 1404s # * @arg_an_n: Argument to pass with the signal. 1404s # * @arg_an_q: Argument to pass with the signal. 1404s # * @arg_an_i: Argument to pass with the signal. 1404s # * @arg_an_u: Argument to pass with the signal. 1404s # * @arg_an_x: Argument to pass with the signal. 1404s # * @arg_an_t: Argument to pass with the signal. 1404s # * @arg_an_d: Argument to pass with the signal. 1404s # * @arg_an_s: Argument to pass with the signal. 1404s # * @arg_an_o: Argument to pass with the signal. 1404s # * @arg_an_g: Argument to pass with the signal. 1404s # * @arg_an_h: Argument to pass with the signal. 1404s # * @arg_an_ay: Argument to pass with the signal. 1404s # * @arg_an_as: Argument to pass with the signal. 1404s # * @arg_an_ao: Argument to pass with the signal. 1404s # * @arg_an_aay: Argument to pass with the signal. 1404s # * @arg_an_asv: Argument to pass with the signal. 1404s # * 1404s # * Emits the "SignalWithManyArgs" D-Bus signal. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_emit_signal_with_many_args ( 1404s # OrgProjectSignalingIface *object, 1404s # gboolean arg_an_b, 1404s # guchar arg_an_y, 1404s # gint16 arg_an_n, 1404s # guint16 arg_an_q, 1404s # gint arg_an_i, 1404s # guint arg_an_u, 1404s # gint64 arg_an_x, 1404s # guint64 arg_an_t, 1404s # gdouble arg_an_d, 1404s # const gchar *arg_an_s, 1404s # const gchar *arg_an_o, 1404s # const gchar *arg_an_g, 1404s # GVariant *arg_an_h, 1404s # const gchar *arg_an_ay, 1404s # const gchar *const *arg_an_as, 1404s # const gchar *const *arg_an_ao, 1404s # const gchar *const *arg_an_aay, 1404s # GVariant *arg_an_asv) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxy: 1404s # * 1404s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceProxyClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceProxy. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceProxyPrivate 1404s # { 1404s # GData *qdata; 1404s # }; 1404s # 1404s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_proxy_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1404s # g_datalist_clear (&proxy->priv->qdata); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1404s # guint prop_id G_GNUC_UNUSED, 1404s # const GValue *value G_GNUC_UNUSED, 1404s # GParamSpec *pspec G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1404s # const gchar *sender_name G_GNUC_UNUSED, 1404s # const gchar *signal_name, 1404s # GVariant *parameters) 1404s # { 1404s # _ExtendedGDBusSignalInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # gsize n; 1404s # guint signal_id; 1404s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1404s # if (info == NULL) 1404s # return; 1404s # num_params = g_variant_n_children (parameters); 1404s # paramv = g_new0 (GValue, num_params + 1); 1404s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[0], proxy); 1404s # g_variant_iter_init (&iter, parameters); 1404s # n = 1; 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_signal_emitv (paramv, signal_id, 0, NULL); 1404s # for (n = 0; n < num_params + 1; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1404s # GVariant *changed_properties, 1404s # const gchar *const *invalidated_properties) 1404s # { 1404s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1404s # guint n; 1404s # const gchar *key; 1404s # GVariantIter *iter; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # g_variant_get (changed_properties, "a{sv}", &iter); 1404s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1404s # g_datalist_remove_data (&proxy->priv->qdata, key); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # g_variant_iter_free (iter); 1404s # for (n = 0; invalidated_properties[n] != NULL; n++) 1404s # { 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1404s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1404s # if (info != NULL) 1404s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1404s # } 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1404s # #else 1404s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1404s # #endif 1404s # 1404s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusProxyClass *proxy_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1404s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1404s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1404s # 1404s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1404s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1404s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_sync: 1404s # * @connection: A #GDBusConnection. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_sync ( 1404s # GDBusConnection *connection, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1404s # * @user_data: User data to pass to @callback. 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1404s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1404s # */ 1404s # void 1404s # org_project_signaling_iface_proxy_new_for_bus ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GAsyncReadyCallback callback, 1404s # gpointer user_data) 1404s # { 1404s # 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); 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1404s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1404s # GAsyncResult *res, 1404s # GError **error) 1404s # { 1404s # GObject *ret; 1404s # GObject *source_object; 1404s # source_object = g_async_result_get_source_object (res); 1404s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1404s # g_object_unref (source_object); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1404s # * @bus_type: A #GBusType. 1404s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1404s # * @name: A bus name (well-known or unique). 1404s # * @object_path: An object path. 1404s # * @cancellable: (nullable): A #GCancellable or %NULL. 1404s # * @error: Return location for error or %NULL 1404s # * 1404s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1404s # * 1404s # * The calling thread is blocked until a reply is received. 1404s # * 1404s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1404s # GBusType bus_type, 1404s # GDBusProxyFlags flags, 1404s # const gchar *name, 1404s # const gchar *object_path, 1404s # GCancellable *cancellable, 1404s # GError **error) 1404s # { 1404s # GInitable *ret; 1404s # 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); 1404s # if (ret != NULL) 1404s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1404s # else 1404s # return NULL; 1404s # } 1404s # 1404s # 1404s # /* ------------------------------------------------------------------------ */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeleton: 1404s # * 1404s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1404s # */ 1404s # 1404s # /** 1404s # * OrgProjectSignalingIfaceSkeletonClass: 1404s # * @parent_class: The parent class. 1404s # * 1404s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1404s # */ 1404s # 1404s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1404s # { 1404s # GValue *properties; 1404s # GList *changed_properties; 1404s # GSource *changed_properties_idle_source; 1404s # GMainContext *context; 1404s # GMutex lock; 1404s # }; 1404s # 1404s # static void 1404s # _org_project_signaling_iface_skeleton_handle_method_call ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name, 1404s # const gchar *method_name, 1404s # GVariant *parameters, 1404s # GDBusMethodInvocation *invocation, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # _ExtendedGDBusMethodInfo *info; 1404s # GVariantIter iter; 1404s # GVariant *child; 1404s # GValue *paramv; 1404s # gsize num_params; 1404s # guint num_extra; 1404s # gsize n; 1404s # guint signal_id; 1404s # GValue return_value = G_VALUE_INIT; 1404s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1404s # g_assert (info != NULL); 1404s # num_params = g_variant_n_children (parameters); 1404s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1404s # n = 0; 1404s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_set_object (¶mv[n++], skeleton); 1404s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1404s # g_value_set_object (¶mv[n++], invocation); 1404s # if (info->pass_fdlist) 1404s # { 1404s # #ifdef G_OS_UNIX 1404s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1404s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1404s # #else 1404s # g_assert_not_reached (); 1404s # #endif 1404s # } 1404s # g_variant_iter_init (&iter, parameters); 1404s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1404s # { 1404s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1404s # if (arg_info->use_gvariant) 1404s # { 1404s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1404s # g_value_set_variant (¶mv[n], child); 1404s # n++; 1404s # } 1404s # else 1404s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1404s # g_variant_unref (child); 1404s # } 1404s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1404s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1404s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1404s # if (!g_value_get_boolean (&return_value)) 1404s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1404s # g_value_unset (&return_value); 1404s # for (n = 0; n < num_params + num_extra; n++) 1404s # g_value_unset (¶mv[n]); 1404s # g_free (paramv); 1404s # } 1404s # 1404s # static GVariant * 1404s # _org_project_signaling_iface_skeleton_handle_get_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # GVariant *ret; 1404s # ret = NULL; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # g_value_init (&value, pspec->value_type); 1404s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1404s # g_value_unset (&value); 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static gboolean 1404s # _org_project_signaling_iface_skeleton_handle_set_property ( 1404s # GDBusConnection *connection G_GNUC_UNUSED, 1404s # const gchar *sender G_GNUC_UNUSED, 1404s # const gchar *object_path G_GNUC_UNUSED, 1404s # const gchar *interface_name G_GNUC_UNUSED, 1404s # const gchar *property_name, 1404s # GVariant *variant, 1404s # GError **error, 1404s # gpointer user_data) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1404s # GValue value = G_VALUE_INIT; 1404s # GParamSpec *pspec; 1404s # _ExtendedGDBusPropertyInfo *info; 1404s # gboolean ret; 1404s # ret = FALSE; 1404s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1404s # g_assert (info != NULL); 1404s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1404s # if (pspec == NULL) 1404s # { 1404s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1404s # } 1404s # else 1404s # { 1404s # if (info->use_gvariant) 1404s # g_value_set_variant (&value, variant); 1404s # else 1404s # g_dbus_gvariant_to_gvalue (variant, &value); 1404s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1404s # g_value_unset (&value); 1404s # ret = TRUE; 1404s # } 1404s # return ret; 1404s # } 1404s # 1404s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1404s # { 1404s # _org_project_signaling_iface_skeleton_handle_method_call, 1404s # _org_project_signaling_iface_skeleton_handle_get_property, 1404s # _org_project_signaling_iface_skeleton_handle_set_property, 1404s # {NULL} 1404s # }; 1404s # 1404s # static GDBusInterfaceInfo * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return org_project_signaling_iface_interface_info (); 1404s # } 1404s # 1404s # static GDBusInterfaceVTable * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1404s # { 1404s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1404s # } 1404s # 1404s # static GVariant * 1404s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1404s # 1404s # GVariantBuilder builder; 1404s # guint n; 1404s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1404s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1404s # goto out; 1404s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1404s # { 1404s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1404s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1404s # { 1404s # GVariant *value; 1404s # 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); 1404s # if (value != NULL) 1404s # { 1404s # g_variant_take_ref (value); 1404s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1404s # g_variant_unref (value); 1404s # } 1404s # } 1404s # } 1404s # out: 1404s # return g_variant_builder_end (&builder); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1404s # { 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_simple_signal ( 1404s # OrgProjectSignalingIface *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void 1404s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1404s # OrgProjectSignalingIface *object, 1404s # gboolean arg_an_b, 1404s # guchar arg_an_y, 1404s # gint16 arg_an_n, 1404s # guint16 arg_an_q, 1404s # gint arg_an_i, 1404s # guint arg_an_u, 1404s # gint64 arg_an_x, 1404s # guint64 arg_an_t, 1404s # gdouble arg_an_d, 1404s # const gchar *arg_an_s, 1404s # const gchar *arg_an_o, 1404s # const gchar *arg_an_g, 1404s # GVariant *arg_an_h, 1404s # const gchar *arg_an_ay, 1404s # const gchar *const *arg_an_as, 1404s # const gchar *const *arg_an_ao, 1404s # const gchar *const *arg_an_aay, 1404s # GVariant *arg_an_asv) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # 1404s # GList *connections, *l; 1404s # GVariant *signal_variant; 1404s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1404s # 1404s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1404s # arg_an_b, 1404s # arg_an_y, 1404s # arg_an_n, 1404s # arg_an_q, 1404s # arg_an_i, 1404s # arg_an_u, 1404s # arg_an_x, 1404s # arg_an_t, 1404s # arg_an_d, 1404s # arg_an_s, 1404s # arg_an_o, 1404s # arg_an_g, 1404s # arg_an_h, 1404s # arg_an_ay, 1404s # arg_an_as, 1404s # arg_an_ao, 1404s # arg_an_aay, 1404s # arg_an_asv)); 1404s # for (l = connections; l != NULL; l = l->next) 1404s # { 1404s # GDBusConnection *connection = l->data; 1404s # g_dbus_connection_emit_signal (connection, 1404s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1404s # signal_variant, NULL); 1404s # } 1404s # g_variant_unref (signal_variant); 1404s # g_list_free_full (connections, g_object_unref); 1404s # } 1404s # 1404s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #else 1404s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1404s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1404s # 1404s # #endif 1404s # static void 1404s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1404s # { 1404s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1404s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1404s # if (skeleton->priv->changed_properties_idle_source != NULL) 1404s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1404s # g_main_context_unref (skeleton->priv->context); 1404s # g_mutex_clear (&skeleton->priv->lock); 1404s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1404s # { 1404s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1404s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1404s # #else 1404s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1404s # #endif 1404s # 1404s # g_mutex_init (&skeleton->priv->lock); 1404s # skeleton->priv->context = g_main_context_ref_thread_default (); 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1404s # { 1404s # GObjectClass *gobject_class; 1404s # GDBusInterfaceSkeletonClass *skeleton_class; 1404s # 1404s # gobject_class = G_OBJECT_CLASS (klass); 1404s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1404s # 1404s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1404s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1404s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1404s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1404s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1404s # 1404s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1404s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1404s # #endif 1404s # } 1404s # 1404s # static void 1404s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1404s # { 1404s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1404s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1404s # } 1404s # 1404s # /** 1404s # * org_project_signaling_iface_skeleton_new: 1404s # * 1404s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1404s # * 1404s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1404s # */ 1404s # OrgProjectSignalingIface * 1404s # org_project_signaling_iface_skeleton_new (void) 1404s # { 1404s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1404s # } 1404s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1404s # tmpdir: /tmp/tmp8vnilooy 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp8vnilooy/tmp9tr9s1_w.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8vnilooy/tmp9tr9s1_w.xml', '--generate-docbook', 'test'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: 1404s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1404s # tmpdir: /tmp/tmpfcbjon5r 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpfcbjon5r/tmpy8h8ku7_.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfcbjon5r/tmpy8h8ku7_.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1404s # tmpdir: /tmp/tmpo_w97ikn 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpo_w97ikn/tmpc4afn2im.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo_w97ikn/tmpc4afn2im.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1404s # tmpdir: /tmp/tmp_2chpj28 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp_2chpj28/tmp8fsw6nfc.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_2chpj28/tmp8fsw6nfc.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1404s # tmpdir: /tmp/tmppsmdl04y 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmppsmdl04y/tmpgu2lnamn.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppsmdl04y/tmpgu2lnamn.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1404s # tmpdir: /tmp/tmpegfzl_75 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpegfzl_75/tmpxl1abox5.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpegfzl_75/tmpxl1abox5.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1404s # tmpdir: /tmp/tmp3gn22fpb 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmp3gn22fpb/tmpbujcba6p.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3gn22fpb/tmpbujcba6p.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1404s # tmpdir: /tmp/tmpotfxzbue 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpotfxzbue/tmptqsyhrq2.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpotfxzbue/tmptqsyhrq2.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1404s # tmpdir: /tmp/tmps9ukm756 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmps9ukm756/tmps6a4xumk.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps9ukm756/tmps6a4xumk.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1404s # tmpdir: /tmp/tmptuf25lmb 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmptuf25lmb/tmp8f8l8_zl.xml: 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptuf25lmb/tmp8f8l8_zl.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: /* 1404s # * This file is generated by gdbus-codegen, do not modify it. 1404s # * 1404s # * The license of this code is the same as for the D-Bus interface description 1404s # * it was derived from. Note that it links to GLib, so must comply with the 1404s # * LGPL linking clauses. 1404s # */ 1404s # 1404s # #ifndef __STDOUT__ 1404s # #define __STDOUT__ 1404s # 1404s # #include 1404s # 1404s # G_BEGIN_DECLS 1404s # 1404s # 1404s # G_END_DECLS 1404s # 1404s # #endif /* __STDOUT__ */ 1404s ok 35 __main__.TestCodegen.test_help 1404s # tmpdir: /tmp/tmpfi66c_6m 1404s # codegen: /usr/bin/gdbus-codegen 1404s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1404s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1404s # [--c-generate-autocleanup {none,objects,all}] 1404s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1404s # [--generate-rst OUTFILES] [--pragma-once] 1404s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1404s # [--glib-min-required VERSION] 1404s # [--glib-max-allowed VERSION] 1404s # [--symbol-decorator SYMBOL_DECORATOR] 1404s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1404s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1404s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1404s # [--output FILE | --output-directory OUTDIR] 1404s # FILE [FILE ...] 1404s # 1404s # D-Bus code and documentation generator 1404s # 1404s # positional arguments: 1404s # FILE D-Bus introspection XML file 1404s # 1404s # options: 1404s # -h, --help show this help message and exit 1404s # --interface-prefix PREFIX 1404s # String to strip from D-Bus interface names for code 1404s # and docs 1404s # --c-namespace NAMESPACE 1404s # The namespace to use for generated C code 1404s # --c-generate-object-manager 1404s # Generate a GDBusObjectManagerClient subclass when 1404s # generating C code 1404s # --c-generate-autocleanup {none,objects,all} 1404s # Generate autocleanup support 1404s # --generate-docbook OUTFILES 1404s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1404s # --generate-md OUTFILES 1404s # Generate Markdown in OUTFILES-org.Project.IFace.md 1404s # --generate-rst OUTFILES 1404s # Generate reStructuredText in OUTFILES- 1404s # org.Project.IFace.rst 1404s # --pragma-once Use "pragma once" as the inclusion guard 1404s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1404s # Add annotation (may be used several times) 1404s # --glib-min-required VERSION 1404s # Minimum version of GLib to be supported by the 1404s # outputted code (default: 2.30) 1404s # --glib-max-allowed VERSION 1404s # Maximum version of GLib to be used by the outputted 1404s # code (default: current GLib version) 1404s # --symbol-decorator SYMBOL_DECORATOR 1404s # Macro used to decorate a symbol in the outputted 1404s # header, possibly to export symbols 1404s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1404s # Additional header required for decorator specified by 1404s # --symbol-decorator 1404s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1404s # Additional define required for decorator specified by 1404s # --symbol-decorator 1404s # --generate-c-code OUTFILES 1404s # Generate C code in OUTFILES.[ch] 1404s # --header Generate C headers 1404s # --body Generate C code 1404s # --interface-info-header 1404s # Generate GDBusInterfaceInfo C header 1404s # --interface-info-body 1404s # Generate GDBusInterfaceInfo C code 1404s # --output FILE Write output into the specified file 1404s # --output-directory OUTDIR 1404s # Location to output generated files 1404s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1404s # tmpdir: /tmp/tmpa8_n0hof 1404s # codegen: /usr/bin/gdbus-codegen 1404s # /tmp/tmpa8_n0hof/tmpjayq8h0u.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa8_n0hof/tmpjayq8h0u.xml', '--generate-rst', 'test'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: 1404s # /tmp/tmpa8_n0hof/tmp4tl45wdl.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa8_n0hof/tmp4tl45wdl.xml', '--generate-md', 'test'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: 1404s # /tmp/tmpa8_n0hof/tmp_zb5h4x5.xml: 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # 1404s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa8_n0hof/tmp_zb5h4x5.xml', '--generate-docbook', 'test'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1404s # Output: 1404s ok 37 __main__.TestCodegen.test_no_args 1404s # tmpdir: /tmp/tmpnd7mm8s2 1404s # codegen: /usr/bin/gdbus-codegen 1404s # Running: ['/usr/bin/gdbus-codegen'] 1404s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s ok 38 __main__.TestCodegen.test_reproducible 1405s # tmpdir: /tmp/tmpuqn7x7ol 1405s # codegen: /usr/bin/gdbus-codegen 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqn7x7ol/tmpxdk_554v1.xml', '/tmp/tmpuqn7x7ol/tmp72316bhe2.xml', '--output', '-', '--header'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for org.project.Bar.Frobnicator */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1405s # 1405s # struct _OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1405s # 1405s # struct _OrgProjectBarFrobnicatorIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_random_method) ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1405s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for com.acme.Coyote */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1405s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1405s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1405s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1405s # 1405s # struct _ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1405s # 1405s # struct _ComAcmeCoyoteIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # 1405s # 1405s # gboolean (*handle_attack) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_run) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_sleep) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1405s # 1405s # void (*surprised) ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # }; 1405s # 1405s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1405s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus signal emissions functions: */ 1405s # void com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* D-Bus property accessors: */ 1405s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1405s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1405s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1405s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1405s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # 1405s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1405s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1405s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1405s # 1405s # struct _ComAcmeCoyoteProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # ComAcmeCoyoteProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1405s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1405s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # 1405s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1405s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1405s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1405s # 1405s # struct _ComAcmeCoyoteSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # ComAcmeCoyoteSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqn7x7ol/tmp72316bhe2.xml', '/tmp/tmpuqn7x7ol/tmpxdk_554v1.xml', '--output', '-', '--header'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for org.project.Bar.Frobnicator */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1405s # 1405s # struct _OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1405s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1405s # 1405s # struct _OrgProjectBarFrobnicatorIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_random_method) ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1405s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1405s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1405s # 1405s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1405s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for com.acme.Coyote */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1405s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1405s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1405s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1405s # 1405s # struct _ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1405s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1405s # 1405s # struct _ComAcmeCoyoteIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # 1405s # 1405s # gboolean (*handle_attack) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_run) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # gboolean (*handle_sleep) ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1405s # 1405s # void (*surprised) ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # }; 1405s # 1405s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1405s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # void com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus signal emissions functions: */ 1405s # void com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* D-Bus property accessors: */ 1405s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1405s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1405s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1405s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1405s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1405s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1405s # 1405s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1405s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1405s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1405s # 1405s # struct _ComAcmeCoyoteProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # ComAcmeCoyoteProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1405s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1405s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1405s # 1405s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1405s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1405s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1405s # 1405s # struct _ComAcmeCoyoteSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # ComAcmeCoyoteSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _ComAcmeCoyoteSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqn7x7ol/tmpxdk_554v1.xml', '/tmp/tmpuqn7x7ol/tmp72316bhe2.xml', '--output', '-', '--body'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifdef HAVE_CONFIG_H 1405s # # include "config.h" 1405s # #endif 1405s # 1405s # #include 1405s # #ifdef G_OS_UNIX 1405s # # include 1405s # #endif 1405s # 1405s # #ifdef G_ENABLE_DEBUG 1405s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1405s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1405s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1405s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1405s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1405s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1405s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1405s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1405s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1405s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1405s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1405s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1405s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1405s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1405s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1405s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1405s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1405s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1405s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1405s # #else /* !G_ENABLE_DEBUG */ 1405s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1405s # * Do not access GValues directly in your code. Instead, use the 1405s # * g_value_get_*() functions 1405s # */ 1405s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1405s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1405s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1405s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1405s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1405s # #endif /* !G_ENABLE_DEBUG */ 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusArgInfo parent_struct; 1405s # gboolean use_gvariant; 1405s # } _ExtendedGDBusArgInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusMethodInfo parent_struct; 1405s # const gchar *signal_name; 1405s # gboolean pass_fdlist; 1405s # } _ExtendedGDBusMethodInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusSignalInfo parent_struct; 1405s # const gchar *signal_name; 1405s # } _ExtendedGDBusSignalInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusPropertyInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # guint use_gvariant : 1; 1405s # guint emits_changed_signal : 1; 1405s # } _ExtendedGDBusPropertyInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusInterfaceInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # } _ExtendedGDBusInterfaceInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # guint prop_id; 1405s # GValue orig_value; /* the value before the change */ 1405s # } ChangedProperty; 1405s # 1405s # static void 1405s # _changed_property_free (ChangedProperty *data) 1405s # { 1405s # g_value_unset (&data->orig_value); 1405s # g_free (data); 1405s # } 1405s # 1405s # static gboolean 1405s # _g_strv_equal0 (gchar **a, gchar **b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # guint n; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # if (g_strv_length (a) != g_strv_length (b)) 1405s # goto out; 1405s # for (n = 0; a[n] != NULL; n++) 1405s # if (g_strcmp0 (a[n], b[n]) != 0) 1405s # goto out; 1405s # ret = TRUE; 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _g_variant_equal0 (GVariant *a, GVariant *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # ret = g_variant_equal (a, b); 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # G_GNUC_UNUSED static gboolean 1405s # _g_value_equal (const GValue *a, const GValue *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1405s # switch (G_VALUE_TYPE (a)) 1405s # { 1405s # case G_TYPE_BOOLEAN: 1405s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1405s # break; 1405s # case G_TYPE_UCHAR: 1405s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1405s # break; 1405s # case G_TYPE_INT: 1405s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1405s # break; 1405s # case G_TYPE_UINT: 1405s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1405s # break; 1405s # case G_TYPE_INT64: 1405s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1405s # break; 1405s # case G_TYPE_UINT64: 1405s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1405s # break; 1405s # case G_TYPE_DOUBLE: 1405s # { 1405s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1405s # gdouble da = g_value_get_double (a); 1405s # gdouble db = g_value_get_double (b); 1405s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1405s # } 1405s # break; 1405s # case G_TYPE_STRING: 1405s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1405s # break; 1405s # case G_TYPE_VARIANT: 1405s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1405s # break; 1405s # default: 1405s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1405s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1405s # else 1405s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1405s # break; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static void 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint G_GNUC_UNUSED, 1405s # void *marshal_data) 1405s # { 1405s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (void *data1, 1405s # GDBusMethodInvocation *arg_method_invocation, 1405s # void *data2); 1405s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1405s # GCClosure *cc = (GCClosure*) closure; 1405s # void *data1, *data2; 1405s # gboolean v_return; 1405s # 1405s # g_return_if_fail (return_value != NULL); 1405s # g_return_if_fail (n_param_values == 2); 1405s # 1405s # if (G_CCLOSURE_SWAP_DATA (closure)) 1405s # { 1405s # data1 = closure->data; 1405s # data2 = g_value_peek_pointer (param_values + 0); 1405s # } 1405s # else 1405s # { 1405s # data1 = g_value_peek_pointer (param_values + 0); 1405s # data2 = closure->data; 1405s # } 1405s # 1405s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (marshal_data ? marshal_data : cc->callback); 1405s # 1405s # v_return = 1405s # callback (data1, 1405s # g_marshal_value_peek_object (param_values + 1), 1405s # data2); 1405s # 1405s # g_value_set_boolean (return_value, v_return); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface org.project.Bar.Frobnicator 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:OrgProjectBarFrobnicator 1405s # * @title: OrgProjectBarFrobnicator 1405s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1405s # * 1405s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1405s # */ 1405s # 1405s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "RandomMethod", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-random-method", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1405s # { 1405s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "org.project.Bar.Frobnicator", 1405s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "org-project-bar-frobnicator", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1405s # { 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # org_project_bar_frobnicator_method_marshal_random_method ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicator: 1405s # * 1405s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1405s # * 1405s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1405s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * OrgProjectBarFrobnicator::handle-random-method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-random-method", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # org_project_bar_frobnicator_method_marshal_random_method, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_finish: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_sync: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_complete_random_method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxy: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # const GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1405s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1405s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1405s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeleton: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1405s # { 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return org_project_bar_frobnicator_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_skeleton_new (void) 1405s # { 1405s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface com.acme.Coyote 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:ComAcmeCoyote 1405s # * @title: ComAcmeCoyote 1405s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1405s # * 1405s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1405s # */ 1405s # 1405s # enum 1405s # { 1405s # _COM_ACME_COYOTE_SURPRISED, 1405s # }; 1405s # 1405s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1405s # 1405s # /* ---- Introspection data for com.acme.Coyote ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Run", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-run", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Sleep", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-sleep", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Attack", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-attack", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_method_info_run.parent_struct, 1405s # &_com_acme_coyote_method_info_sleep.parent_struct, 1405s # &_com_acme_coyote_method_info_attack.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Surprised", 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "surprised" 1405s # }; 1405s # 1405s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Mood", 1405s # (gchar *) "s", 1405s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1405s # NULL 1405s # }, 1405s # "mood", 1405s # FALSE, 1405s # TRUE 1405s # }; 1405s # 1405s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_property_info_mood.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "com.acme.Coyote", 1405s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1405s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1405s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1405s # NULL 1405s # }, 1405s # "com-acme-coyote", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # com_acme_coyote_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1405s # { 1405s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # com_acme_coyote_signal_marshal_surprised ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # g_cclosure_marshal_VOID__VOID (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_run ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_sleep ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_attack ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * ComAcmeCoyote: 1405s # * 1405s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1405s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1405s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1405s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1405s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1405s # * 1405s # * Virtual table for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1405s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * ComAcmeCoyote::handle-run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-run", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_run, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-sleep", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_sleep, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-attack", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_attack, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /* GObject signals for received D-Bus signals: */ 1405s # /** 1405s # * ComAcmeCoyote::surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1405s # * 1405s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1405s # */ 1405s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1405s # g_signal_new ("surprised", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1405s # NULL, 1405s # NULL, 1405s # com_acme_coyote_signal_marshal_surprised, 1405s # G_TYPE_NONE, 1405s # 0); 1405s # 1405s # /* GObject properties for D-Bus properties: */ 1405s # /** 1405s # * ComAcmeCoyote:mood: 1405s # * 1405s # * Represents the D-Bus property "Mood". 1405s # * 1405s # * 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. 1405s # */ 1405s # g_object_interface_install_property (iface, 1405s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_get_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets the value of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # const gchar * 1405s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1405s # 1405s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_dup_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets a copy of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1405s # */ 1405s # gchar * 1405s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1405s # { 1405s # gchar *value; 1405s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1405s # return value; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_set_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * @value: The value to set. 1405s # * 1405s # * Sets the "Mood" D-Bus property to @value. 1405s # * 1405s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1405s # */ 1405s # void 1405s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1405s # { 1405s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_emit_surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Emits the "Surprised" D-Bus signal. 1405s # */ 1405s # void 1405s # com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_run(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_attack(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxy: 1405s # * 1405s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteProxy. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_proxy_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1405s # if (info->use_gvariant) 1405s # { 1405s # g_value_set_variant (value, variant); 1405s # } 1405s # else 1405s # { 1405s # if (variant != NULL) 1405s # g_dbus_gvariant_to_gvalue (variant, value); 1405s # } 1405s # if (variant != NULL) 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1405s # GAsyncResult *res, 1405s # gpointer user_data) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info = user_data; 1405s # GError *error; 1405s # GVariant *_ret; 1405s # error = NULL; 1405s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1405s # if (!_ret) 1405s # { 1405s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1405s # info->parent_struct.name, 1405s # error->message, g_quark_to_string (error->domain), error->code); 1405s # g_error_free (error); 1405s # } 1405s # else 1405s # { 1405s # g_variant_unref (_ret); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1405s # "org.freedesktop.DBus.Properties.Set", 1405s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # GVariant *variant; 1405s # const gchar *value = NULL; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1405s # if (variant != NULL) 1405s # { 1405s # value = g_variant_get_string (variant, NULL); 1405s # g_variant_unref (variant); 1405s # } 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1405s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1405s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1405s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeleton: 1405s # * 1405s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteSkeleton. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _com_acme_coyote_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _com_acme_coyote_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1405s # { 1405s # _com_acme_coyote_skeleton_handle_method_call, 1405s # _com_acme_coyote_skeleton_handle_get_property, 1405s # _com_acme_coyote_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return com_acme_coyote_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # gboolean emit_changed = FALSE; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # { 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # emit_changed = TRUE; 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # 1405s # if (emit_changed) 1405s # _com_acme_coyote_emit_changed (skeleton); 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_on_signal_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # 1405s # GList *connections, *l; 1405s # GVariant *signal_variant; 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1405s # for (l = connections; l != NULL; l = l->next) 1405s # { 1405s # GDBusConnection *connection = l->data; 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1405s # signal_variant, NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # 1405s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_skeleton_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # guint n; 1405s # for (n = 0; n < 1; n++) 1405s # g_value_unset (&skeleton->priv->properties[n]); 1405s # g_free (skeleton->priv->properties); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_emit_changed (gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GList *l; 1405s # GVariantBuilder builder; 1405s # GVariantBuilder invalidated_builder; 1405s # guint num_changes; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1405s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *cp = l->data; 1405s # GVariant *variant; 1405s # const GValue *cur_value; 1405s # 1405s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1405s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1405s # { 1405s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1405s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1405s # g_variant_unref (variant); 1405s # num_changes++; 1405s # } 1405s # } 1405s # if (num_changes > 0) 1405s # { 1405s # GList *connections, *ll; 1405s # GVariant *signal_variant; 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1405s # &builder, &invalidated_builder)); 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # for (ll = connections; ll != NULL; ll = ll->next) 1405s # { 1405s # GDBusConnection *connection = ll->data; 1405s # 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1405s # "org.freedesktop.DBus.Properties", 1405s # "PropertiesChanged", 1405s # signal_variant, 1405s # NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # else 1405s # { 1405s # g_variant_builder_clear (&builder); 1405s # g_variant_builder_clear (&invalidated_builder); 1405s # } 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # skeleton->priv->changed_properties = NULL; 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return FALSE; 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1405s # { 1405s # ChangedProperty *cp; 1405s # GList *l; 1405s # cp = NULL; 1405s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *i_cp = l->data; 1405s # if (i_cp->info == info) 1405s # { 1405s # cp = i_cp; 1405s # break; 1405s # } 1405s # } 1405s # if (cp == NULL) 1405s # { 1405s # cp = g_new0 (ChangedProperty, 1); 1405s # cp->prop_id = prop_id; 1405s # cp->info = info; 1405s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1405s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1405s # g_value_copy (orig_value, &cp->orig_value); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_notify (GObject *object, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties != NULL && 1405s # skeleton->priv->changed_properties_idle_source == NULL) 1405s # { 1405s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1405s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1405s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1405s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1405s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1405s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_object_freeze_notify (object); 1405s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1405s # { 1405s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1405s # info->emits_changed_signal) 1405s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1405s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1405s # g_object_notify_by_pspec (object, pspec); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # g_object_thaw_notify (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # skeleton->priv->properties = g_new0 (GValue, 1); 1405s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # const gchar *value; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1405s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1405s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1405s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1405s # 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1405s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_skeleton_new (void) 1405s # { 1405s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1405s # } 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqn7x7ol/tmp72316bhe2.xml', '/tmp/tmpuqn7x7ol/tmpxdk_554v1.xml', '--output', '-', '--body'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifdef HAVE_CONFIG_H 1405s # # include "config.h" 1405s # #endif 1405s # 1405s # #include 1405s # #ifdef G_OS_UNIX 1405s # # include 1405s # #endif 1405s # 1405s # #ifdef G_ENABLE_DEBUG 1405s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1405s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1405s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1405s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1405s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1405s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1405s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1405s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1405s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1405s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1405s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1405s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1405s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1405s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1405s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1405s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1405s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1405s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1405s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1405s # #else /* !G_ENABLE_DEBUG */ 1405s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1405s # * Do not access GValues directly in your code. Instead, use the 1405s # * g_value_get_*() functions 1405s # */ 1405s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1405s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1405s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1405s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1405s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1405s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1405s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1405s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1405s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1405s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1405s # #endif /* !G_ENABLE_DEBUG */ 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusArgInfo parent_struct; 1405s # gboolean use_gvariant; 1405s # } _ExtendedGDBusArgInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusMethodInfo parent_struct; 1405s # const gchar *signal_name; 1405s # gboolean pass_fdlist; 1405s # } _ExtendedGDBusMethodInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusSignalInfo parent_struct; 1405s # const gchar *signal_name; 1405s # } _ExtendedGDBusSignalInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusPropertyInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # guint use_gvariant : 1; 1405s # guint emits_changed_signal : 1; 1405s # } _ExtendedGDBusPropertyInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # GDBusInterfaceInfo parent_struct; 1405s # const gchar *hyphen_name; 1405s # } _ExtendedGDBusInterfaceInfo; 1405s # 1405s # typedef struct 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # guint prop_id; 1405s # GValue orig_value; /* the value before the change */ 1405s # } ChangedProperty; 1405s # 1405s # static void 1405s # _changed_property_free (ChangedProperty *data) 1405s # { 1405s # g_value_unset (&data->orig_value); 1405s # g_free (data); 1405s # } 1405s # 1405s # static gboolean 1405s # _g_strv_equal0 (gchar **a, gchar **b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # guint n; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # if (g_strv_length (a) != g_strv_length (b)) 1405s # goto out; 1405s # for (n = 0; a[n] != NULL; n++) 1405s # if (g_strcmp0 (a[n], b[n]) != 0) 1405s # goto out; 1405s # ret = TRUE; 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _g_variant_equal0 (GVariant *a, GVariant *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # if (a == NULL && b == NULL) 1405s # { 1405s # ret = TRUE; 1405s # goto out; 1405s # } 1405s # if (a == NULL || b == NULL) 1405s # goto out; 1405s # ret = g_variant_equal (a, b); 1405s # out: 1405s # return ret; 1405s # } 1405s # 1405s # G_GNUC_UNUSED static gboolean 1405s # _g_value_equal (const GValue *a, const GValue *b) 1405s # { 1405s # gboolean ret = FALSE; 1405s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1405s # switch (G_VALUE_TYPE (a)) 1405s # { 1405s # case G_TYPE_BOOLEAN: 1405s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1405s # break; 1405s # case G_TYPE_UCHAR: 1405s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1405s # break; 1405s # case G_TYPE_INT: 1405s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1405s # break; 1405s # case G_TYPE_UINT: 1405s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1405s # break; 1405s # case G_TYPE_INT64: 1405s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1405s # break; 1405s # case G_TYPE_UINT64: 1405s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1405s # break; 1405s # case G_TYPE_DOUBLE: 1405s # { 1405s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1405s # gdouble da = g_value_get_double (a); 1405s # gdouble db = g_value_get_double (b); 1405s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1405s # } 1405s # break; 1405s # case G_TYPE_STRING: 1405s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1405s # break; 1405s # case G_TYPE_VARIANT: 1405s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1405s # break; 1405s # default: 1405s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1405s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1405s # else 1405s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1405s # break; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static void 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint G_GNUC_UNUSED, 1405s # void *marshal_data) 1405s # { 1405s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (void *data1, 1405s # GDBusMethodInvocation *arg_method_invocation, 1405s # void *data2); 1405s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1405s # GCClosure *cc = (GCClosure*) closure; 1405s # void *data1, *data2; 1405s # gboolean v_return; 1405s # 1405s # g_return_if_fail (return_value != NULL); 1405s # g_return_if_fail (n_param_values == 2); 1405s # 1405s # if (G_CCLOSURE_SWAP_DATA (closure)) 1405s # { 1405s # data1 = closure->data; 1405s # data2 = g_value_peek_pointer (param_values + 0); 1405s # } 1405s # else 1405s # { 1405s # data1 = g_value_peek_pointer (param_values + 0); 1405s # data2 = closure->data; 1405s # } 1405s # 1405s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1405s # (marshal_data ? marshal_data : cc->callback); 1405s # 1405s # v_return = 1405s # callback (data1, 1405s # g_marshal_value_peek_object (param_values + 1), 1405s # data2); 1405s # 1405s # g_value_set_boolean (return_value, v_return); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface org.project.Bar.Frobnicator 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:OrgProjectBarFrobnicator 1405s # * @title: OrgProjectBarFrobnicator 1405s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1405s # * 1405s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1405s # */ 1405s # 1405s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "RandomMethod", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-random-method", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1405s # { 1405s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "org.project.Bar.Frobnicator", 1405s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "org-project-bar-frobnicator", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1405s # { 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # org_project_bar_frobnicator_method_marshal_random_method ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicator: 1405s # * 1405s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1405s # * 1405s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1405s # */ 1405s # 1405s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1405s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * OrgProjectBarFrobnicator::handle-random-method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-random-method", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # org_project_bar_frobnicator_method_marshal_random_method, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_call_random_method ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_finish: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_finish ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_call_random_method_sync: 1405s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # org_project_bar_frobnicator_call_random_method_sync ( 1405s # OrgProjectBarFrobnicator *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "RandomMethod", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_complete_random_method: 1405s # * @object: A #OrgProjectBarFrobnicator. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_complete_random_method ( 1405s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxy: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1405s # guint prop_id G_GNUC_UNUSED, 1405s # const GValue *value G_GNUC_UNUSED, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1405s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1405s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1405s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # org_project_bar_frobnicator_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeleton: 1405s # * 1405s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * OrgProjectBarFrobnicatorSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1405s # */ 1405s # 1405s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1405s # { 1405s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1405s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1405s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return org_project_bar_frobnicator_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1405s # { 1405s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1405s # { 1405s # } 1405s # 1405s # /** 1405s # * org_project_bar_frobnicator_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1405s # * 1405s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1405s # */ 1405s # OrgProjectBarFrobnicator * 1405s # org_project_bar_frobnicator_skeleton_new (void) 1405s # { 1405s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ 1405s # * Code for interface com.acme.Coyote 1405s # * ------------------------------------------------------------------------ 1405s # */ 1405s # 1405s # /** 1405s # * SECTION:ComAcmeCoyote 1405s # * @title: ComAcmeCoyote 1405s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1405s # * 1405s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1405s # */ 1405s # 1405s # enum 1405s # { 1405s # _COM_ACME_COYOTE_SURPRISED, 1405s # }; 1405s # 1405s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1405s # 1405s # /* ---- Introspection data for com.acme.Coyote ---- */ 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Run", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-run", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Sleep", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-sleep", 1405s # FALSE 1405s # }; 1405s # 1405s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Attack", 1405s # NULL, 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "handle-attack", 1405s # FALSE 1405s # }; 1405s # 1405s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_method_info_run.parent_struct, 1405s # &_com_acme_coyote_method_info_sleep.parent_struct, 1405s # &_com_acme_coyote_method_info_attack.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Surprised", 1405s # NULL, 1405s # NULL 1405s # }, 1405s # "surprised" 1405s # }; 1405s # 1405s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "Mood", 1405s # (gchar *) "s", 1405s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1405s # NULL 1405s # }, 1405s # "mood", 1405s # FALSE, 1405s # TRUE 1405s # }; 1405s # 1405s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1405s # { 1405s # &_com_acme_coyote_property_info_mood.parent_struct, 1405s # NULL 1405s # }; 1405s # 1405s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1405s # { 1405s # { 1405s # -1, 1405s # (gchar *) "com.acme.Coyote", 1405s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1405s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1405s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1405s # NULL 1405s # }, 1405s # "com-acme-coyote", 1405s # }; 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_interface_info: 1405s # * 1405s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1405s # * 1405s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1405s # */ 1405s # GDBusInterfaceInfo * 1405s # com_acme_coyote_interface_info (void) 1405s # { 1405s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_override_properties: 1405s # * @klass: The class structure for a #GObject derived class. 1405s # * @property_id_begin: The property id to assign to the first overridden property. 1405s # * 1405s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1405s # * The properties are overridden in the order they are defined. 1405s # * 1405s # * Returns: The last property id. 1405s # */ 1405s # guint 1405s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1405s # { 1405s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1405s # return property_id_begin - 1; 1405s # } 1405s # 1405s # 1405s # inline static void 1405s # com_acme_coyote_signal_marshal_surprised ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # g_cclosure_marshal_VOID__VOID (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_run ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_sleep ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # inline static void 1405s # com_acme_coyote_method_marshal_attack ( 1405s # GClosure *closure, 1405s # GValue *return_value, 1405s # unsigned int n_param_values, 1405s # const GValue *param_values, 1405s # void *invocation_hint, 1405s # void *marshal_data) 1405s # { 1405s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1405s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1405s # } 1405s # 1405s # 1405s # /** 1405s # * ComAcmeCoyote: 1405s # * 1405s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteIface: 1405s # * @parent_iface: The parent interface. 1405s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1405s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1405s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1405s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1405s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1405s # * 1405s # * Virtual table for the D-Bus interface com.acme.Coyote. 1405s # */ 1405s # 1405s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1405s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1405s # 1405s # static void 1405s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # /* GObject signals for incoming D-Bus method calls: */ 1405s # /** 1405s # * ComAcmeCoyote::handle-run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-run", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_run, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-sleep", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_sleep, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /** 1405s # * ComAcmeCoyote::handle-attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: A #GDBusMethodInvocation. 1405s # * 1405s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # g_signal_new ("handle-attack", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1405s # g_signal_accumulator_true_handled, 1405s # NULL, 1405s # com_acme_coyote_method_marshal_attack, 1405s # G_TYPE_BOOLEAN, 1405s # 1, 1405s # G_TYPE_DBUS_METHOD_INVOCATION); 1405s # 1405s # /* GObject signals for received D-Bus signals: */ 1405s # /** 1405s # * ComAcmeCoyote::surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1405s # * 1405s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1405s # */ 1405s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1405s # g_signal_new ("surprised", 1405s # G_TYPE_FROM_INTERFACE (iface), 1405s # G_SIGNAL_RUN_LAST, 1405s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1405s # NULL, 1405s # NULL, 1405s # com_acme_coyote_signal_marshal_surprised, 1405s # G_TYPE_NONE, 1405s # 0); 1405s # 1405s # /* GObject properties for D-Bus properties: */ 1405s # /** 1405s # * ComAcmeCoyote:mood: 1405s # * 1405s # * Represents the D-Bus property "Mood". 1405s # * 1405s # * 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. 1405s # */ 1405s # g_object_interface_install_property (iface, 1405s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_get_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets the value of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * 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. 1405s # * 1405s # * 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. 1405s # */ 1405s # const gchar * 1405s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1405s # 1405s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_dup_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Gets a copy of the "Mood" D-Bus property. 1405s # * 1405s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1405s # * 1405s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1405s # */ 1405s # gchar * 1405s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1405s # { 1405s # gchar *value; 1405s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1405s # return value; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_set_mood: (skip) 1405s # * @object: A #ComAcmeCoyote. 1405s # * @value: The value to set. 1405s # * 1405s # * Sets the "Mood" D-Bus property to @value. 1405s # * 1405s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1405s # */ 1405s # void 1405s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1405s # { 1405s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_emit_surprised: 1405s # * @object: A #ComAcmeCoyote. 1405s # * 1405s # * Emits the "Surprised" D-Bus signal. 1405s # */ 1405s # void 1405s # com_acme_coyote_emit_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_run ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_run(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_run_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_run_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Run", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_sleep ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_sleep_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_sleep_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Sleep", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1405s # */ 1405s # void 1405s # com_acme_coyote_call_attack ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # callback, 1405s # user_data); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_finish: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_call_attack(). 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_finish ( 1405s # ComAcmeCoyote *proxy, 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_call_attack_sync: 1405s # * @proxy: A #ComAcmeCoyoteProxy. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL. 1405s # * 1405s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1405s # * 1405s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1405s # */ 1405s # gboolean 1405s # com_acme_coyote_call_attack_sync ( 1405s # ComAcmeCoyote *proxy, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GVariant *_ret; 1405s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1405s # "Attack", 1405s # g_variant_new ("()"), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # cancellable, 1405s # error); 1405s # if (_ret == NULL) 1405s # goto _out; 1405s # g_variant_get (_ret, 1405s # "()"); 1405s # g_variant_unref (_ret); 1405s # _out: 1405s # return _ret != NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_run: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_run ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_sleep: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_sleep ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_complete_attack: 1405s # * @object: A #ComAcmeCoyote. 1405s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1405s # * 1405s # * 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. 1405s # * 1405s # * This method will free @invocation, you cannot use it afterwards. 1405s # */ 1405s # void 1405s # com_acme_coyote_complete_attack ( 1405s # ComAcmeCoyote *object G_GNUC_UNUSED, 1405s # GDBusMethodInvocation *invocation) 1405s # { 1405s # g_dbus_method_invocation_return_value (invocation, 1405s # g_variant_new ("()")); 1405s # } 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxy: 1405s # * 1405s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteProxyClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteProxy. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteProxyPrivate 1405s # { 1405s # GData *qdata; 1405s # }; 1405s # 1405s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_proxy_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # g_datalist_clear (&proxy->priv->qdata); 1405s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1405s # if (info->use_gvariant) 1405s # { 1405s # g_value_set_variant (value, variant); 1405s # } 1405s # else 1405s # { 1405s # if (variant != NULL) 1405s # g_dbus_gvariant_to_gvalue (variant, value); 1405s # } 1405s # if (variant != NULL) 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1405s # GAsyncResult *res, 1405s # gpointer user_data) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info = user_data; 1405s # GError *error; 1405s # GVariant *_ret; 1405s # error = NULL; 1405s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1405s # if (!_ret) 1405s # { 1405s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1405s # info->parent_struct.name, 1405s # error->message, g_quark_to_string (error->domain), error->code); 1405s # g_error_free (error); 1405s # } 1405s # else 1405s # { 1405s # g_variant_unref (_ret); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *variant; 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1405s # "org.freedesktop.DBus.Properties.Set", 1405s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1405s # G_DBUS_CALL_FLAGS_NONE, 1405s # -1, 1405s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1405s # g_variant_unref (variant); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1405s # const gchar *sender_name G_GNUC_UNUSED, 1405s # const gchar *signal_name, 1405s # GVariant *parameters) 1405s # { 1405s # _ExtendedGDBusSignalInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # gsize n; 1405s # guint signal_id; 1405s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1405s # if (info == NULL) 1405s # return; 1405s # num_params = g_variant_n_children (parameters); 1405s # paramv = g_new0 (GValue, num_params + 1); 1405s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[0], proxy); 1405s # g_variant_iter_init (&iter, parameters); 1405s # n = 1; 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_signal_emitv (paramv, signal_id, 0, NULL); 1405s # for (n = 0; n < num_params + 1; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1405s # GVariant *changed_properties, 1405s # const gchar *const *invalidated_properties) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1405s # guint n; 1405s # const gchar *key; 1405s # GVariantIter *iter; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # g_variant_get (changed_properties, "a{sv}", &iter); 1405s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1405s # g_datalist_remove_data (&proxy->priv->qdata, key); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # g_variant_iter_free (iter); 1405s # for (n = 0; invalidated_properties[n] != NULL; n++) 1405s # { 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1405s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1405s # if (info != NULL) 1405s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1405s # } 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1405s # GVariant *variant; 1405s # const gchar *value = NULL; 1405s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1405s # if (variant != NULL) 1405s # { 1405s # value = g_variant_get_string (variant, NULL); 1405s # g_variant_unref (variant); 1405s # } 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1405s # #else 1405s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1405s # #endif 1405s # 1405s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusProxyClass *proxy_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1405s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1405s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1405s # 1405s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1405s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1405s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_sync: 1405s # * @connection: A #GDBusConnection. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1405s # * @user_data: User data to pass to @callback. 1405s # * 1405s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1405s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1405s # */ 1405s # void 1405s # com_acme_coyote_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data) 1405s # { 1405s # 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); 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_finish: 1405s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error) 1405s # { 1405s # GObject *ret; 1405s # GObject *source_object; 1405s # source_object = g_async_result_get_source_object (res); 1405s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1405s # g_object_unref (source_object); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_proxy_new_for_bus_sync: 1405s # * @bus_type: A #GBusType. 1405s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1405s # * @name: A bus name (well-known or unique). 1405s # * @object_path: An object path. 1405s # * @cancellable: (nullable): A #GCancellable or %NULL. 1405s # * @error: Return location for error or %NULL 1405s # * 1405s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1405s # * 1405s # * The calling thread is blocked until a reply is received. 1405s # * 1405s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error) 1405s # { 1405s # GInitable *ret; 1405s # 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); 1405s # if (ret != NULL) 1405s # return COM_ACME_COYOTE (ret); 1405s # else 1405s # return NULL; 1405s # } 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeleton: 1405s # * 1405s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1405s # */ 1405s # 1405s # /** 1405s # * ComAcmeCoyoteSkeletonClass: 1405s # * @parent_class: The parent class. 1405s # * 1405s # * Class structure for #ComAcmeCoyoteSkeleton. 1405s # */ 1405s # 1405s # struct _ComAcmeCoyoteSkeletonPrivate 1405s # { 1405s # GValue *properties; 1405s # GList *changed_properties; 1405s # GSource *changed_properties_idle_source; 1405s # GMainContext *context; 1405s # GMutex lock; 1405s # }; 1405s # 1405s # static void 1405s # _com_acme_coyote_skeleton_handle_method_call ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name, 1405s # const gchar *method_name, 1405s # GVariant *parameters, 1405s # GDBusMethodInvocation *invocation, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # _ExtendedGDBusMethodInfo *info; 1405s # GVariantIter iter; 1405s # GVariant *child; 1405s # GValue *paramv; 1405s # gsize num_params; 1405s # guint num_extra; 1405s # gsize n; 1405s # guint signal_id; 1405s # GValue return_value = G_VALUE_INIT; 1405s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1405s # g_assert (info != NULL); 1405s # num_params = g_variant_n_children (parameters); 1405s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1405s # n = 0; 1405s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1405s # g_value_set_object (¶mv[n++], skeleton); 1405s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1405s # g_value_set_object (¶mv[n++], invocation); 1405s # if (info->pass_fdlist) 1405s # { 1405s # #ifdef G_OS_UNIX 1405s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1405s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1405s # #else 1405s # g_assert_not_reached (); 1405s # #endif 1405s # } 1405s # g_variant_iter_init (&iter, parameters); 1405s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1405s # { 1405s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1405s # if (arg_info->use_gvariant) 1405s # { 1405s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1405s # g_value_set_variant (¶mv[n], child); 1405s # n++; 1405s # } 1405s # else 1405s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1405s # g_variant_unref (child); 1405s # } 1405s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1405s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1405s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1405s # if (!g_value_get_boolean (&return_value)) 1405s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1405s # g_value_unset (&return_value); 1405s # for (n = 0; n < num_params + num_extra; n++) 1405s # g_value_unset (¶mv[n]); 1405s # g_free (paramv); 1405s # } 1405s # 1405s # static GVariant * 1405s # _com_acme_coyote_skeleton_handle_get_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # GVariant *ret; 1405s # ret = NULL; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # g_value_init (&value, pspec->value_type); 1405s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1405s # g_value_unset (&value); 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_skeleton_handle_set_property ( 1405s # GDBusConnection *connection G_GNUC_UNUSED, 1405s # const gchar *sender G_GNUC_UNUSED, 1405s # const gchar *object_path G_GNUC_UNUSED, 1405s # const gchar *interface_name G_GNUC_UNUSED, 1405s # const gchar *property_name, 1405s # GVariant *variant, 1405s # GError **error, 1405s # gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GValue value = G_VALUE_INIT; 1405s # GParamSpec *pspec; 1405s # _ExtendedGDBusPropertyInfo *info; 1405s # gboolean ret; 1405s # ret = FALSE; 1405s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1405s # g_assert (info != NULL); 1405s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1405s # if (pspec == NULL) 1405s # { 1405s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1405s # } 1405s # else 1405s # { 1405s # if (info->use_gvariant) 1405s # g_value_set_variant (&value, variant); 1405s # else 1405s # g_dbus_gvariant_to_gvalue (variant, &value); 1405s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1405s # g_value_unset (&value); 1405s # ret = TRUE; 1405s # } 1405s # return ret; 1405s # } 1405s # 1405s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1405s # { 1405s # _com_acme_coyote_skeleton_handle_method_call, 1405s # _com_acme_coyote_skeleton_handle_get_property, 1405s # _com_acme_coyote_skeleton_handle_set_property, 1405s # {NULL} 1405s # }; 1405s # 1405s # static GDBusInterfaceInfo * 1405s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return com_acme_coyote_interface_info (); 1405s # } 1405s # 1405s # static GDBusInterfaceVTable * 1405s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1405s # { 1405s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1405s # } 1405s # 1405s # static GVariant * 1405s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # 1405s # GVariantBuilder builder; 1405s # guint n; 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1405s # goto out; 1405s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1405s # { 1405s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1405s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1405s # { 1405s # GVariant *value; 1405s # 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); 1405s # if (value != NULL) 1405s # { 1405s # g_variant_take_ref (value); 1405s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1405s # g_variant_unref (value); 1405s # } 1405s # } 1405s # } 1405s # out: 1405s # return g_variant_builder_end (&builder); 1405s # } 1405s # 1405s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1405s # gboolean emit_changed = FALSE; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # { 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # emit_changed = TRUE; 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # 1405s # if (emit_changed) 1405s # _com_acme_coyote_emit_changed (skeleton); 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_on_signal_surprised ( 1405s # ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # 1405s # GList *connections, *l; 1405s # GVariant *signal_variant; 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1405s # for (l = connections; l != NULL; l = l->next) 1405s # { 1405s # GDBusConnection *connection = l->data; 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1405s # signal_variant, NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # 1405s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #else 1405s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1405s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1405s # 1405s # #endif 1405s # static void 1405s # com_acme_coyote_skeleton_finalize (GObject *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # guint n; 1405s # for (n = 0; n < 1; n++) 1405s # g_value_unset (&skeleton->priv->properties[n]); 1405s # g_free (skeleton->priv->properties); 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # if (skeleton->priv->changed_properties_idle_source != NULL) 1405s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1405s # g_main_context_unref (skeleton->priv->context); 1405s # g_mutex_clear (&skeleton->priv->lock); 1405s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_get_property (GObject *object, 1405s # guint prop_id, 1405s # GValue *value, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static gboolean 1405s # _com_acme_coyote_emit_changed (gpointer user_data) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1405s # GList *l; 1405s # GVariantBuilder builder; 1405s # GVariantBuilder invalidated_builder; 1405s # guint num_changes; 1405s # 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1405s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1405s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *cp = l->data; 1405s # GVariant *variant; 1405s # const GValue *cur_value; 1405s # 1405s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1405s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1405s # { 1405s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1405s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1405s # g_variant_unref (variant); 1405s # num_changes++; 1405s # } 1405s # } 1405s # if (num_changes > 0) 1405s # { 1405s # GList *connections, *ll; 1405s # GVariant *signal_variant; 1405s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1405s # &builder, &invalidated_builder)); 1405s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1405s # for (ll = connections; ll != NULL; ll = ll->next) 1405s # { 1405s # GDBusConnection *connection = ll->data; 1405s # 1405s # g_dbus_connection_emit_signal (connection, 1405s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1405s # "org.freedesktop.DBus.Properties", 1405s # "PropertiesChanged", 1405s # signal_variant, 1405s # NULL); 1405s # } 1405s # g_variant_unref (signal_variant); 1405s # g_list_free_full (connections, g_object_unref); 1405s # } 1405s # else 1405s # { 1405s # g_variant_builder_clear (&builder); 1405s # g_variant_builder_clear (&invalidated_builder); 1405s # } 1405s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1405s # skeleton->priv->changed_properties = NULL; 1405s # skeleton->priv->changed_properties_idle_source = NULL; 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return FALSE; 1405s # } 1405s # 1405s # static void 1405s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1405s # { 1405s # ChangedProperty *cp; 1405s # GList *l; 1405s # cp = NULL; 1405s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1405s # { 1405s # ChangedProperty *i_cp = l->data; 1405s # if (i_cp->info == info) 1405s # { 1405s # cp = i_cp; 1405s # break; 1405s # } 1405s # } 1405s # if (cp == NULL) 1405s # { 1405s # cp = g_new0 (ChangedProperty, 1); 1405s # cp->prop_id = prop_id; 1405s # cp->info = info; 1405s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1405s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1405s # g_value_copy (orig_value, &cp->orig_value); 1405s # } 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_notify (GObject *object, 1405s # GParamSpec *pspec G_GNUC_UNUSED) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # if (skeleton->priv->changed_properties != NULL && 1405s # skeleton->priv->changed_properties_idle_source == NULL) 1405s # { 1405s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1405s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1405s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1405s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1405s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1405s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_set_property (GObject *object, 1405s # guint prop_id, 1405s # const GValue *value, 1405s # GParamSpec *pspec) 1405s # { 1405s # const _ExtendedGDBusPropertyInfo *info; 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1405s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # g_object_freeze_notify (object); 1405s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1405s # { 1405s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1405s # info->emits_changed_signal) 1405s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1405s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1405s # g_object_notify_by_pspec (object, pspec); 1405s # } 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # g_object_thaw_notify (object); 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1405s # { 1405s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1405s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1405s # #else 1405s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1405s # #endif 1405s # 1405s # g_mutex_init (&skeleton->priv->lock); 1405s # skeleton->priv->context = g_main_context_ref_thread_default (); 1405s # skeleton->priv->properties = g_new0 (GValue, 1); 1405s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1405s # } 1405s # 1405s # static const gchar * 1405s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1405s # { 1405s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1405s # const gchar *value; 1405s # g_mutex_lock (&skeleton->priv->lock); 1405s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1405s # g_mutex_unlock (&skeleton->priv->lock); 1405s # return value; 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1405s # { 1405s # GObjectClass *gobject_class; 1405s # GDBusInterfaceSkeletonClass *skeleton_class; 1405s # 1405s # gobject_class = G_OBJECT_CLASS (klass); 1405s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1405s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1405s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1405s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1405s # 1405s # 1405s # com_acme_coyote_override_properties (gobject_class, 1); 1405s # 1405s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1405s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1405s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1405s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1405s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1405s # 1405s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1405s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1405s # #endif 1405s # } 1405s # 1405s # static void 1405s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1405s # { 1405s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1405s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1405s # } 1405s # 1405s # /** 1405s # * com_acme_coyote_skeleton_new: 1405s # * 1405s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1405s # * 1405s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1405s # */ 1405s # ComAcmeCoyote * 1405s # com_acme_coyote_skeleton_new (void) 1405s # { 1405s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1405s # } 1405s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1405s # tmpdir: /tmp/tmp3bsqjbot 1405s # codegen: /usr/bin/gdbus-codegen 1405s # /tmp/tmp3bsqjbot/tmpbdeu0f62.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3bsqjbot/tmpbdeu0f62.xml', '--output', '-', '--header'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for FDPassing */ 1405s # 1405s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1405s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1405s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1405s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1405s # 1405s # struct _FDPassing; 1405s # typedef struct _FDPassing FDPassing; 1405s # typedef struct _FDPassingIface FDPassingIface; 1405s # 1405s # struct _FDPassingIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_hello_fd) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *arg_greeting); 1405s # 1405s # gboolean (*handle_no_annotation) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale); 1405s # 1405s # gboolean (*handle_no_annotation_nested) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_files); 1405s # 1405s # }; 1405s # 1405s # GType fdpassing_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1405s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void fdpassing_complete_hello_fd ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *response); 1405s # 1405s # void fdpassing_complete_no_annotation ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *response, 1405s # const gchar *response_locale); 1405s # 1405s # void fdpassing_complete_no_annotation_nested ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void fdpassing_call_hello_fd ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_hello_fd_finish ( 1405s # FDPassing *proxy, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_hello_fd_sync ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_finish ( 1405s # FDPassing *proxy, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation_nested ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_finish ( 1405s # FDPassing *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1405s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1405s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1405s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1405s # 1405s # typedef struct _FDPassingProxy FDPassingProxy; 1405s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1405s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1405s # 1405s # struct _FDPassingProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # FDPassingProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void fdpassing_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1405s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1405s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1405s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1405s # 1405s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1405s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1405s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1405s # 1405s # struct _FDPassingSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # FDPassingSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # FDPassing *fdpassing_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # /tmp/tmp3bsqjbot/tmp5e8pb3u7.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3bsqjbot/tmp5e8pb3u7.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for FDPassing */ 1405s # 1405s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1405s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1405s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1405s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1405s # 1405s # struct _FDPassing; 1405s # typedef struct _FDPassing FDPassing; 1405s # typedef struct _FDPassingIface FDPassingIface; 1405s # 1405s # struct _FDPassingIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_hello_fd) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *arg_greeting); 1405s # 1405s # gboolean (*handle_no_annotation) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale); 1405s # 1405s # gboolean (*handle_no_annotation_nested) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *arg_files); 1405s # 1405s # }; 1405s # 1405s # GType fdpassing_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1405s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void fdpassing_complete_hello_fd ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *response); 1405s # 1405s # void fdpassing_complete_no_annotation ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GVariant *response, 1405s # const gchar *response_locale); 1405s # 1405s # void fdpassing_complete_no_annotation_nested ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void fdpassing_call_hello_fd ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_hello_fd_finish ( 1405s # FDPassing *proxy, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_hello_fd_sync ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GUnixFDList *fd_list, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_finish ( 1405s # FDPassing *proxy, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation_nested ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_finish ( 1405s # FDPassing *proxy, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1405s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1405s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1405s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1405s # 1405s # typedef struct _FDPassingProxy FDPassingProxy; 1405s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1405s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1405s # 1405s # struct _FDPassingProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # FDPassingProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void fdpassing_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1405s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1405s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1405s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1405s # 1405s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1405s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1405s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1405s # 1405s # struct _FDPassingSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # FDPassingSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # FDPassing *fdpassing_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s # /tmp/tmp3bsqjbot/tmp66kspnzm.xml: 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # 1405s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3bsqjbot/tmp66kspnzm.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1405s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1405s # Output: /* 1405s # * This file is generated by gdbus-codegen, do not modify it. 1405s # * 1405s # * The license of this code is the same as for the D-Bus interface description 1405s # * it was derived from. Note that it links to GLib, so must comply with the 1405s # * LGPL linking clauses. 1405s # */ 1405s # 1405s # #ifndef __STDOUT__ 1405s # #define __STDOUT__ 1405s # 1405s # #include 1405s # 1405s # G_BEGIN_DECLS 1405s # 1405s # 1405s # /* ------------------------------------------------------------------------ */ 1405s # /* Declarations for FDPassing */ 1405s # 1405s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1405s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1405s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1405s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1405s # 1405s # struct _FDPassing; 1405s # typedef struct _FDPassing FDPassing; 1405s # typedef struct _FDPassingIface FDPassingIface; 1405s # 1405s # struct _FDPassingIface 1405s # { 1405s # GTypeInterface parent_iface; 1405s # 1405s # gboolean (*handle_hello_fd) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *arg_greeting); 1405s # 1405s # gboolean (*handle_no_annotation) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale); 1405s # 1405s # gboolean (*handle_no_annotation_nested) ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # GVariant *arg_files); 1405s # 1405s # }; 1405s # 1405s # GType fdpassing_get_type (void) G_GNUC_CONST; 1405s # 1405s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1405s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1405s # 1405s # 1405s # /* D-Bus method call completion functions: */ 1405s # void fdpassing_complete_hello_fd ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # const gchar *response); 1405s # 1405s # void fdpassing_complete_no_annotation ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list, 1405s # GVariant *response, 1405s # const gchar *response_locale); 1405s # 1405s # void fdpassing_complete_no_annotation_nested ( 1405s # FDPassing *object, 1405s # GDBusMethodInvocation *invocation, 1405s # GUnixFDList *fd_list); 1405s # 1405s # 1405s # 1405s # /* D-Bus method calls: */ 1405s # void fdpassing_call_hello_fd ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_hello_fd_finish ( 1405s # FDPassing *proxy, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_hello_fd_sync ( 1405s # FDPassing *proxy, 1405s # const gchar *arg_greeting, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # gchar **out_response, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_finish ( 1405s # FDPassing *proxy, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_greeting, 1405s # const gchar *arg_greeting_locale, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GVariant **out_response, 1405s # gchar **out_response_locale, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_call_no_annotation_nested ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_finish ( 1405s # FDPassing *proxy, 1405s # GUnixFDList **out_fd_list, 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # 1405s # gboolean fdpassing_call_no_annotation_nested_sync ( 1405s # FDPassing *proxy, 1405s # GVariant *arg_files, 1405s # GDBusCallFlags call_flags, 1405s # gint timeout_msec, 1405s # GUnixFDList *fd_list, 1405s # GUnixFDList **out_fd_list, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1405s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1405s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1405s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1405s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1405s # 1405s # typedef struct _FDPassingProxy FDPassingProxy; 1405s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1405s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1405s # 1405s # struct _FDPassingProxy 1405s # { 1405s # /*< private >*/ 1405s # GDBusProxy parent_instance; 1405s # FDPassingProxyPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingProxyClass 1405s # { 1405s # GDBusProxyClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1405s # #endif 1405s # 1405s # void fdpassing_proxy_new ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_sync ( 1405s # GDBusConnection *connection, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # void fdpassing_proxy_new_for_bus ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GAsyncReadyCallback callback, 1405s # gpointer user_data); 1405s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1405s # GAsyncResult *res, 1405s # GError **error); 1405s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1405s # GBusType bus_type, 1405s # GDBusProxyFlags flags, 1405s # const gchar *name, 1405s # const gchar *object_path, 1405s # GCancellable *cancellable, 1405s # GError **error); 1405s # 1405s # 1405s # /* ---- */ 1405s # 1405s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1405s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1405s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1405s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1405s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1405s # 1405s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1405s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1405s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1405s # 1405s # struct _FDPassingSkeleton 1405s # { 1405s # /*< private >*/ 1405s # GDBusInterfaceSkeleton parent_instance; 1405s # FDPassingSkeletonPrivate *priv; 1405s # }; 1405s # 1405s # struct _FDPassingSkeletonClass 1405s # { 1405s # GDBusInterfaceSkeletonClass parent_class; 1405s # }; 1405s # 1405s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1405s # 1405s # #if GLIB_CHECK_VERSION(2, 44, 0) 1405s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1405s # #endif 1405s # 1405s # FDPassing *fdpassing_skeleton_new (void); 1405s # 1405s # 1405s # G_END_DECLS 1405s # 1405s # #endif /* __STDOUT__ */ 1405s 1..39 1405s ok - glib/codegen.py.test 1405s # Running test: glib/cxx-98.test 1405s TAP version 14 1405s # random seed: R02S0b55f5f62272ec377110dafb889fdf5a 1405s 1..2 1405s # Start of gtask tests 1405s # 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. 1405s ok 1 /gtask/name 1405s # Start of name tests 1405s # 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. 1405s ok 2 /gtask/name/macro-wrapper 1405s # End of name tests 1405s # End of gtask tests 1405s ok - glib/cxx-98.test 1405s # Running test: glib/unix-streams.test 1405s TAP version 14 1405s # random seed: R02S3cc34706da7c777ff0be520b12110400 1405s 1..9 1405s # Start of unix-streams tests 1405s ok 1 /unix-streams/basic 1405s ok 2 /unix-streams/pipe-io-test 1405s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1406s ok 3 /unix-streams/nonblocking-io-test 1406s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1406s ok 4 /unix-streams/read_write 1406s ok 5 /unix-streams/read_writev 1406s ok 6 /unix-streams/write-wouldblock 1406s ok 7 /unix-streams/writev-wouldblock 1406s ok 8 /unix-streams/write-async-wouldblock 1406s ok 9 /unix-streams/writev-async-wouldblock 1406s # End of unix-streams tests 1406s ok - glib/unix-streams.test 1406s # Running test: glib/signals-refcount1.test 1406s TAP version 14 1406s # random seed: R02Sb9ee5e4d7d21daf4a00002fdc0d995d5 1406s 1..1 1406s # Start of gobject tests 1406s # Start of refcount tests 1406s # init 0xb77a56160430 1406s # 1406s # init 0xb77a561605d0 1406s # 1408s # Executing: glib/signals-refcount1.test 1411s # dispose 0xb77a56160430! 1411s # 1411s # dispose 0xb77a561605d0! 1411s # 1411s ok 1 /gobject/refcount/signals 1411s # slow test /gobject/refcount/signals executed in 5.00 secs 1411s # End of refcount tests 1411s # End of gobject tests 1411s ok - glib/signals-refcount1.test 1411s # Running test: glib/genmarshal.py.test 1411s TAP version 13 1411s ok 1 __main__.TestGenmarshal.test_empty_list 1411s # tmpdir: /tmp/tmpnith04xo 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # /tmp/tmpnith04xo/tmp311hej0g.list: 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnith04xo/tmp311hej0g.list', '--header', '--quiet'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # 1411s # #include 1411s # 1411s # G_BEGIN_DECLS 1411s # 1411s # 1411s # G_END_DECLS 1411s # 1411s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpnith04xo/tmp311hej0g.list', '--body', '--quiet'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #include 1411s # 1411s # #ifdef G_ENABLE_DEBUG 1411s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1411s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1411s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1411s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1411s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1411s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1411s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1411s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1411s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1411s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1411s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1411s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1411s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1411s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1411s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1411s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1411s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1411s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1411s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1411s # #else /* !G_ENABLE_DEBUG */ 1411s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1411s # * Do not access GValues directly in your code. Instead, use the 1411s # * g_value_get_*() functions 1411s # */ 1411s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1411s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1411s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1411s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1411s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1411s # #endif /* !G_ENABLE_DEBUG */ 1411s ok 2 __main__.TestGenmarshal.test_help 1411s # tmpdir: /tmp/tmp6iaii4ay 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1411s # [--internal] [--valist-marshallers] [-v] 1411s # [--g-fatal-warnings] [--include-header [HEADER]] 1411s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1411s # [--prototypes] [--header] [--body] 1411s # [--stdinc | --nostdinc] [--quiet | --verbose] 1411s # [FILE ...] 1411s # 1411s # Generate signal marshallers for GObject 1411s # 1411s # positional arguments: 1411s # FILE Files with lists of marshallers to generate, or "-" 1411s # for standard input 1411s # 1411s # options: 1411s # -h, --help show this help message and exit 1411s # --prefix STRING Specify marshaller prefix 1411s # --output FILE Write output into the specified file 1411s # --skip-source Skip source location comments 1411s # --internal Mark generated functions as internal 1411s # --valist-marshallers Generate va_list marshallers 1411s # -v, --version Print version information, and exit 1411s # --g-fatal-warnings Make warnings fatal 1411s # --include-header [HEADER] 1411s # Include the specified header in the body 1411s # --pragma-once Use "pragma once" as the inclusion guard 1411s # -D CPP_DEFINES Pre-processor define 1411s # -U CPP_UNDEFINES Pre-processor undefine 1411s # --prototypes Generate the marshallers prototype in the C code 1411s # --header Generate C headers 1411s # --body Generate C code 1411s # --stdinc Include standard marshallers 1411s # --nostdinc Use standard marshallers 1411s # --quiet Only print warnings and errors 1411s # --verbose Be verbose, and include debugging information 1411s ok 3 __main__.TestGenmarshal.test_no_args 1411s # tmpdir: /tmp/tmpbkbb8jhu 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # Running: ['/usr/bin/glib-genmarshal'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # Output: 1411s ok 4 __main__.TestGenmarshal.test_void_boolean 1411s # tmpdir: /tmp/tmpv3vl1o1v 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # /tmp/tmpv3vl1o1v/tmpdhrrib2b.list: VOID:BOOLEAN 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpv3vl1o1v/tmpdhrrib2b.list', '--header', '--quiet'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # 1411s # #include 1411s # 1411s # G_BEGIN_DECLS 1411s # 1411s # /* VOID:BOOLEAN (/tmp/tmpv3vl1o1v/tmpdhrrib2b.list:1) */ 1411s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1411s # 1411s # 1411s # G_END_DECLS 1411s # 1411s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpv3vl1o1v/tmpdhrrib2b.list', '--body', '--quiet'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #include 1411s # 1411s # #ifdef G_ENABLE_DEBUG 1411s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1411s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1411s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1411s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1411s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1411s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1411s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1411s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1411s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1411s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1411s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1411s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1411s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1411s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1411s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1411s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1411s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1411s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1411s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1411s # #else /* !G_ENABLE_DEBUG */ 1411s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1411s # * Do not access GValues directly in your code. Instead, use the 1411s # * g_value_get_*() functions 1411s # */ 1411s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1411s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1411s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1411s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1411s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1411s # #endif /* !G_ENABLE_DEBUG */ 1411s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1411s # tmpdir: /tmp/tmp_ifdgp42 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # /tmp/tmp_ifdgp42/tmpvraofrbi.list: VOID:BOOLEAN,INT64 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_ifdgp42/tmpvraofrbi.list', '--header', '--quiet'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # 1411s # #include 1411s # 1411s # G_BEGIN_DECLS 1411s # 1411s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_ifdgp42/tmpvraofrbi.list:1) */ 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1411s # GValue *return_value, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint, 1411s # gpointer marshal_data); 1411s # 1411s # 1411s # G_END_DECLS 1411s # 1411s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_ifdgp42/tmpvraofrbi.list', '--body', '--quiet'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #include 1411s # 1411s # #ifdef G_ENABLE_DEBUG 1411s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1411s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1411s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1411s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1411s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1411s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1411s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1411s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1411s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1411s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1411s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1411s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1411s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1411s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1411s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1411s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1411s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1411s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1411s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1411s # #else /* !G_ENABLE_DEBUG */ 1411s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1411s # * Do not access GValues directly in your code. Instead, use the 1411s # * g_value_get_*() functions 1411s # */ 1411s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1411s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1411s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1411s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1411s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1411s # #endif /* !G_ENABLE_DEBUG */ 1411s # 1411s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_ifdgp42/tmpvraofrbi.list:1) */ 1411s # void 1411s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint G_GNUC_UNUSED, 1411s # gpointer marshal_data) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1411s # gboolean arg1, 1411s # gint64 arg2, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1411s # 1411s # g_return_if_fail (n_param_values == 3); 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = g_value_peek_pointer (param_values + 0); 1411s # } 1411s # else 1411s # { 1411s # data1 = g_value_peek_pointer (param_values + 0); 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # g_marshal_value_peek_boolean (param_values + 1), 1411s # g_marshal_value_peek_int64 (param_values + 2), 1411s # data2); 1411s # } 1411s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1411s # tmpdir: /tmp/tmplsn9_wkt 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # /tmp/tmplsn9_wkt/tmpo1mp8sqr.list: VOID:PARAM 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplsn9_wkt/tmpo1mp8sqr.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # 1411s # G_BEGIN_DECLS 1411s # 1411s # /* VOID:PARAM (/tmp/tmplsn9_wkt/tmpo1mp8sqr.list:1) */ 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1411s # GValue *return_value, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint, 1411s # gpointer marshal_data); 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1411s # GValue *return_value, 1411s # gpointer instance, 1411s # va_list args, 1411s # gpointer marshal_data, 1411s # int n_params, 1411s # GType *param_types); 1411s # 1411s # 1411s # G_END_DECLS 1411s # 1411s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplsn9_wkt/tmpo1mp8sqr.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifdef G_ENABLE_DEBUG 1411s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1411s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1411s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1411s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1411s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1411s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1411s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1411s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1411s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1411s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1411s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1411s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1411s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1411s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1411s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1411s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1411s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1411s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1411s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1411s # #else /* !G_ENABLE_DEBUG */ 1411s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1411s # * Do not access GValues directly in your code. Instead, use the 1411s # * g_value_get_*() functions 1411s # */ 1411s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1411s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1411s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1411s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1411s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1411s # #endif /* !G_ENABLE_DEBUG */ 1411s # 1411s # /* VOID:PARAM (/tmp/tmplsn9_wkt/tmpo1mp8sqr.list:1) */ 1411s # void 1411s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint G_GNUC_UNUSED, 1411s # gpointer marshal_data) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1411s # gpointer arg1, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__PARAM callback; 1411s # 1411s # g_return_if_fail (n_param_values == 2); 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = g_value_peek_pointer (param_values + 0); 1411s # } 1411s # else 1411s # { 1411s # data1 = g_value_peek_pointer (param_values + 0); 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # g_marshal_value_peek_param (param_values + 1), 1411s # data2); 1411s # } 1411s # 1411s # void 1411s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # gpointer instance, 1411s # va_list args, 1411s # gpointer marshal_data, 1411s # int n_params, 1411s # GType *param_types) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1411s # gpointer arg1, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__PARAM callback; 1411s # gpointer arg0; 1411s # va_list args_copy; 1411s # 1411s # va_copy (args_copy, args); 1411s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1411s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1411s # arg0 = g_param_spec_ref (arg0); 1411s # va_end (args_copy); 1411s # 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = instance; 1411s # } 1411s # else 1411s # { 1411s # data1 = instance; 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # arg0, 1411s # data2); 1411s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1411s # g_param_spec_unref (arg0); 1411s # } 1411s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1411s # tmpdir: /tmp/tmp96p53ghj 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # /tmp/tmp96p53ghj/tmp86pnhwe9.list: VOID:STRING 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp96p53ghj/tmp86pnhwe9.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # 1411s # G_BEGIN_DECLS 1411s # 1411s # /* VOID:STRING (/tmp/tmp96p53ghj/tmp86pnhwe9.list:1) */ 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1411s # GValue *return_value, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint, 1411s # gpointer marshal_data); 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1411s # GValue *return_value, 1411s # gpointer instance, 1411s # va_list args, 1411s # gpointer marshal_data, 1411s # int n_params, 1411s # GType *param_types); 1411s # 1411s # 1411s # G_END_DECLS 1411s # 1411s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp96p53ghj/tmp86pnhwe9.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifdef G_ENABLE_DEBUG 1411s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1411s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1411s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1411s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1411s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1411s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1411s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1411s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1411s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1411s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1411s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1411s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1411s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1411s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1411s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1411s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1411s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1411s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1411s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1411s # #else /* !G_ENABLE_DEBUG */ 1411s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1411s # * Do not access GValues directly in your code. Instead, use the 1411s # * g_value_get_*() functions 1411s # */ 1411s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1411s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1411s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1411s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1411s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1411s # #endif /* !G_ENABLE_DEBUG */ 1411s # 1411s # /* VOID:STRING (/tmp/tmp96p53ghj/tmp86pnhwe9.list:1) */ 1411s # void 1411s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint G_GNUC_UNUSED, 1411s # gpointer marshal_data) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1411s # gpointer arg1, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__STRING callback; 1411s # 1411s # g_return_if_fail (n_param_values == 2); 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = g_value_peek_pointer (param_values + 0); 1411s # } 1411s # else 1411s # { 1411s # data1 = g_value_peek_pointer (param_values + 0); 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # g_marshal_value_peek_string (param_values + 1), 1411s # data2); 1411s # } 1411s # 1411s # void 1411s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # gpointer instance, 1411s # va_list args, 1411s # gpointer marshal_data, 1411s # int n_params, 1411s # GType *param_types) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1411s # gpointer arg1, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__STRING callback; 1411s # gpointer arg0; 1411s # va_list args_copy; 1411s # 1411s # va_copy (args_copy, args); 1411s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1411s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1411s # arg0 = g_strdup (arg0); 1411s # va_end (args_copy); 1411s # 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = instance; 1411s # } 1411s # else 1411s # { 1411s # data1 = instance; 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # arg0, 1411s # data2); 1411s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1411s # g_free (arg0); 1411s # } 1411s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1411s # tmpdir: /tmp/tmpz731ix98 1411s # genmarshal: /usr/bin/glib-genmarshal 1411s # /tmp/tmpz731ix98/tmputr49w9f.list: VOID:VARIANT 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz731ix98/tmputr49w9f.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1411s # 1411s # G_BEGIN_DECLS 1411s # 1411s # /* VOID:VARIANT (/tmp/tmpz731ix98/tmputr49w9f.list:1) */ 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1411s # GValue *return_value, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint, 1411s # gpointer marshal_data); 1411s # extern 1411s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1411s # GValue *return_value, 1411s # gpointer instance, 1411s # va_list args, 1411s # gpointer marshal_data, 1411s # int n_params, 1411s # GType *param_types); 1411s # 1411s # 1411s # G_END_DECLS 1411s # 1411s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1411s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpz731ix98/tmputr49w9f.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1411s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1411s # 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. */ 1411s # #ifdef G_ENABLE_DEBUG 1411s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1411s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1411s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1411s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1411s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1411s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1411s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1411s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1411s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1411s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1411s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1411s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1411s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1411s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1411s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1411s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1411s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1411s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1411s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1411s # #else /* !G_ENABLE_DEBUG */ 1411s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1411s # * Do not access GValues directly in your code. Instead, use the 1411s # * g_value_get_*() functions 1411s # */ 1411s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1411s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1411s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1411s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1411s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1411s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1411s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1411s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1411s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1411s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1411s # #endif /* !G_ENABLE_DEBUG */ 1411s # 1411s # /* VOID:VARIANT (/tmp/tmpz731ix98/tmputr49w9f.list:1) */ 1411s # void 1411s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # guint n_param_values, 1411s # const GValue *param_values, 1411s # gpointer invocation_hint G_GNUC_UNUSED, 1411s # gpointer marshal_data) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1411s # gpointer arg1, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__VARIANT callback; 1411s # 1411s # g_return_if_fail (n_param_values == 2); 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = g_value_peek_pointer (param_values + 0); 1411s # } 1411s # else 1411s # { 1411s # data1 = g_value_peek_pointer (param_values + 0); 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # g_marshal_value_peek_variant (param_values + 1), 1411s # data2); 1411s # } 1411s # 1411s # void 1411s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1411s # GValue *return_value G_GNUC_UNUSED, 1411s # gpointer instance, 1411s # va_list args, 1411s # gpointer marshal_data, 1411s # int n_params, 1411s # GType *param_types) 1411s # { 1411s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1411s # gpointer arg1, 1411s # gpointer data2); 1411s # GCClosure *cc = (GCClosure *) closure; 1411s # gpointer data1, data2; 1411s # GMarshalFunc_VOID__VARIANT callback; 1411s # gpointer arg0; 1411s # va_list args_copy; 1411s # 1411s # va_copy (args_copy, args); 1411s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1411s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1411s # arg0 = g_variant_ref_sink (arg0); 1411s # va_end (args_copy); 1411s # 1411s # 1411s # if (G_CCLOSURE_SWAP_DATA (closure)) 1411s # { 1411s # data1 = closure->data; 1411s # data2 = instance; 1411s # } 1411s # else 1411s # { 1411s # data1 = instance; 1411s # data2 = closure->data; 1411s # } 1411s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1411s # 1411s # callback (data1, 1411s # arg0, 1411s # data2); 1411s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1411s # g_variant_unref (arg0); 1411s # } 1411s 1..8 1411s ok - glib/genmarshal.py.test 1411s # Running test: glib/rec-mutex.test 1411s TAP version 14 1411s # random seed: R02Sab6f58d8fbce73af301c32ed5a1f4bff 1411s 1..29 1411s # Start of thread tests 1411s ok 1 /thread/rec-mutex1 1411s ok 2 /thread/rec-mutex2 1411s ok 3 /thread/rec-mutex3 1411s ok 4 /thread/rec-mutex4 1411s # Start of rec-mutex tests 1411s # Start of perf tests 1411s # Start of uncontended tests 1411s # max perf: 1.000000 mips 1411s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1411s # max perf: inf mips 1411s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1411s # max perf: inf mips 1411s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1411s # max perf: inf mips 1411s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1411s # max perf: inf mips 1411s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1411s # End of uncontended tests 1411s # Start of contended1 tests 1411s # max perf: inf mips 1411s ok 10 /thread/rec-mutex/perf/contended1/depth1 1411s # max perf: inf mips 1411s ok 11 /thread/rec-mutex/perf/contended1/depth2 1411s # max perf: inf mips 1411s ok 12 /thread/rec-mutex/perf/contended1/depth3 1411s # max perf: inf mips 1411s ok 13 /thread/rec-mutex/perf/contended1/depth4 1411s # max perf: inf mips 1411s ok 14 /thread/rec-mutex/perf/contended1/depth5 1411s # End of contended1 tests 1411s # Start of contended2 tests 1411s # max perf: inf mips 1411s ok 15 /thread/rec-mutex/perf/contended2/depth1 1411s # max perf: inf mips 1411s ok 16 /thread/rec-mutex/perf/contended2/depth2 1411s # max perf: 3.000000 mips 1411s ok 17 /thread/rec-mutex/perf/contended2/depth3 1411s # max perf: inf mips 1411s ok 18 /thread/rec-mutex/perf/contended2/depth4 1411s # max perf: 3.000000 mips 1411s ok 19 /thread/rec-mutex/perf/contended2/depth5 1411s # End of contended2 tests 1411s # Start of contended3 tests 1411s # max perf: inf mips 1411s ok 20 /thread/rec-mutex/perf/contended3/depth1 1411s # max perf: inf mips 1411s ok 21 /thread/rec-mutex/perf/contended3/depth2 1411s # max perf: inf mips 1411s ok 22 /thread/rec-mutex/perf/contended3/depth3 1411s # max perf: inf mips 1411s ok 23 /thread/rec-mutex/perf/contended3/depth4 1411s # max perf: inf mips 1411s ok 24 /thread/rec-mutex/perf/contended3/depth5 1411s # End of contended3 tests 1411s # Start of contended4 tests 1411s # max perf: inf mips 1411s ok 25 /thread/rec-mutex/perf/contended4/depth1 1411s # max perf: 5.000000 mips 1411s ok 26 /thread/rec-mutex/perf/contended4/depth2 1411s # max perf: inf mips 1411s ok 27 /thread/rec-mutex/perf/contended4/depth3 1411s # max perf: 5.000000 mips 1411s ok 28 /thread/rec-mutex/perf/contended4/depth4 1411s # max perf: 2.500000 mips 1411s ok 29 /thread/rec-mutex/perf/contended4/depth5 1411s # End of contended4 tests 1411s # End of perf tests 1411s # End of rec-mutex tests 1411s # End of thread tests 1411s ok - glib/rec-mutex.test 1411s # Running test: glib/testfilemonitor.test 1411s TAP version 14 1411s # random seed: R02S6a7842cb6076cc7c8ea0c6adda5b13ce 1411s 1..8 1411s # Start of monitor tests 1411s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1411s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1411s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s # Start of file tests 1411s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1411s # End of file tests 1411s # End of monitor tests 1411s ok - glib/testfilemonitor.test 1411s # Running test: glib/base64.test 1411s TAP version 14 1411s # random seed: R02S96989650e3d278faf371c31fc65ede55 1411s 1..28 1411s # Start of base64 tests 1411s ok 1 /base64/encode 1411s ok 2 /base64/decode 1411s ok 3 /base64/decode-inplace 1411s ok 4 /base64/encode-decode 1411s # Start of full tests 1411s ok 5 /base64/full/1 1411s ok 6 /base64/full/2 1411s ok 7 /base64/full/3 1411s ok 8 /base64/full/4 1411s # End of full tests 1411s # Start of encode tests 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1411s ok 9 /base64/encode/empty 1411s # Start of incremental tests 1411s # Start of small-block tests 1411s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1411s ok 10 /base64/encode/incremental/small-block/1 1411s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1411s ok 11 /base64/encode/incremental/small-block/2 1411s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1411s ok 12 /base64/encode/incremental/small-block/3 1411s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1411s ok 13 /base64/encode/incremental/small-block/4 1411s # End of small-block tests 1411s # End of incremental tests 1411s # End of encode tests 1411s # Start of incremental tests 1411s # Start of nobreak tests 1411s ok 14 /base64/incremental/nobreak/1 1411s ok 15 /base64/incremental/nobreak/2 1411s ok 16 /base64/incremental/nobreak/3 1411s ok 17 /base64/incremental/nobreak/4-a 1411s ok 18 /base64/incremental/nobreak/4-b 1411s ok 19 /base64/incremental/nobreak/4-c 1411s # End of nobreak tests 1411s # Start of break tests 1411s ok 20 /base64/incremental/break/1 1411s ok 21 /base64/incremental/break/2 1411s ok 22 /base64/incremental/break/3 1411s # End of break tests 1411s # Start of smallblock tests 1411s ok 23 /base64/incremental/smallblock/1 1411s ok 24 /base64/incremental/smallblock/2 1411s ok 25 /base64/incremental/smallblock/3 1411s ok 26 /base64/incremental/smallblock/4 1411s # End of smallblock tests 1411s # End of incremental tests 1411s # Start of decode tests 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1411s ok 27 /base64/decode/empty 1411s # End of decode tests 1411s # Start of encode-decode tests 1411s # Vector 0: 1411s # Vector 1: f 1411s # Vector 2: fo 1411s # Vector 3: foo 1411s # Vector 4: foob 1411s # Vector 5: fooba 1411s # Vector 6: foobar 1411s ok 28 /base64/encode-decode/rfc4648 1411s # End of encode-decode tests 1411s # End of base64 tests 1411s ok - glib/base64.test 1411s # Running test: glib/once.test 1411s TAP version 14 1411s # random seed: R02Saa76404216414f076100d8f495fd393a 1411s 1..5 1411s # Start of once tests 1411s # /once/single-threaded summary: Test g_once() usage from a single thread 1411s ok 1 /once/single-threaded 1411s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1411s ok 2 /once/multi-threaded 1411s # End of once tests 1411s # Start of once-init tests 1411s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1411s ok 3 /once-init/single-threaded 1411s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1411s ok 4 /once-init/multi-threaded 1411s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1411s ok 5 /once-init/string 1411s # End of once-init tests 1411s ok - glib/once.test 1411s # Running test: glib/pattern.test 1411s TAP version 14 1411s # random seed: R02S9f8e7ee6680b4fbcb51e93911674c599 1411s 1..90 1411s # Start of pattern tests 1411s # Start of compile tests 1411s ok 1 /pattern/compile/0 1411s ok 2 /pattern/compile/1 1411s ok 3 /pattern/compile/2 1411s ok 4 /pattern/compile/3 1411s ok 5 /pattern/compile/4 1411s ok 6 /pattern/compile/5 1411s ok 7 /pattern/compile/6 1411s ok 8 /pattern/compile/7 1411s ok 9 /pattern/compile/8 1411s ok 10 /pattern/compile/9 1411s ok 11 /pattern/compile/10 1411s ok 12 /pattern/compile/11 1411s ok 13 /pattern/compile/12 1411s ok 14 /pattern/compile/13 1411s # End of compile tests 1411s # Start of copy tests 1411s ok 15 /pattern/copy/0 1411s ok 16 /pattern/copy/1 1411s ok 17 /pattern/copy/2 1411s ok 18 /pattern/copy/3 1411s ok 19 /pattern/copy/4 1411s ok 20 /pattern/copy/5 1411s ok 21 /pattern/copy/6 1411s ok 22 /pattern/copy/7 1411s ok 23 /pattern/copy/8 1411s ok 24 /pattern/copy/9 1411s ok 25 /pattern/copy/10 1411s ok 26 /pattern/copy/11 1411s ok 27 /pattern/copy/12 1411s ok 28 /pattern/copy/13 1411s # End of copy tests 1411s # Start of match tests 1411s ok 29 /pattern/match/0 1411s ok 30 /pattern/match/1 1411s ok 31 /pattern/match/2 1411s ok 32 /pattern/match/3 1411s ok 33 /pattern/match/4 1411s ok 34 /pattern/match/5 1411s ok 35 /pattern/match/6 1411s ok 36 /pattern/match/7 1411s ok 37 /pattern/match/8 1411s ok 38 /pattern/match/9 1411s ok 39 /pattern/match/10 1411s ok 40 /pattern/match/11 1411s ok 41 /pattern/match/12 1411s ok 42 /pattern/match/13 1411s ok 43 /pattern/match/14 1411s ok 44 /pattern/match/15 1411s ok 45 /pattern/match/16 1411s ok 46 /pattern/match/17 1411s ok 47 /pattern/match/18 1411s ok 48 /pattern/match/19 1411s ok 49 /pattern/match/20 1411s ok 50 /pattern/match/21 1411s ok 51 /pattern/match/22 1411s ok 52 /pattern/match/23 1411s ok 53 /pattern/match/24 1411s ok 54 /pattern/match/25 1411s ok 55 /pattern/match/26 1411s ok 56 /pattern/match/27 1411s ok 57 /pattern/match/28 1411s ok 58 /pattern/match/29 1411s ok 59 /pattern/match/30 1411s ok 60 /pattern/match/31 1411s ok 61 /pattern/match/32 1411s ok 62 /pattern/match/33 1411s ok 63 /pattern/match/34 1411s ok 64 /pattern/match/35 1411s ok 65 /pattern/match/36 1411s ok 66 /pattern/match/37 1411s ok 67 /pattern/match/38 1411s ok 68 /pattern/match/39 1411s ok 69 /pattern/match/40 1411s ok 70 /pattern/match/41 1411s ok 71 /pattern/match/42 1411s ok 72 /pattern/match/43 1411s ok 73 /pattern/match/44 1411s ok 74 /pattern/match/45 1411s ok 75 /pattern/match/46 1411s ok 76 /pattern/match/47 1411s ok 77 /pattern/match/48 1411s ok 78 /pattern/match/49 1411s ok 79 /pattern/match/50 1411s # End of match tests 1411s # Start of equal tests 1411s ok 80 /pattern/equal/0 1411s ok 81 /pattern/equal/1 1411s ok 82 /pattern/equal/2 1411s ok 83 /pattern/equal/3 1411s ok 84 /pattern/equal/4 1411s ok 85 /pattern/equal/5 1411s ok 86 /pattern/equal/6 1411s ok 87 /pattern/equal/7 1411s ok 88 /pattern/equal/8 1411s ok 89 /pattern/equal/9 1411s ok 90 /pattern/equal/10 1411s # End of equal tests 1411s # End of pattern tests 1411s ok - glib/pattern.test 1411s # Running test: glib/file.test 1411s TAP version 14 1411s # random seed: R02Se22012a620e5dbaf84a00851dcedcae8 1411s 1..55 1411s # Start of file tests 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/basic/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/basic/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/basic/.dirs/system-config1:/tmp/test_file_T1KD02/file/basic/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/basic/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/basic/.dirs/system-data1:/tmp/test_file_T1KD02/file/basic/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/basic/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/basic/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/basic/.dirs/runtime 1411s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1411s ok 1 /file/basic 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/build-filename/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/build-filename/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/build-filename/.dirs/system-config1:/tmp/test_file_T1KD02/file/build-filename/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/build-filename/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/build-filename/.dirs/system-data1:/tmp/test_file_T1KD02/file/build-filename/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/build-filename/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/build-filename/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/build-filename/.dirs/runtime 1411s ok 2 /file/build-filename 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/system-config1:/tmp/test_file_T1KD02/file/build-filenamev/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/system-data1:/tmp/test_file_T1KD02/file/build-filenamev/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/build-filenamev/.dirs/runtime 1411s ok 3 /file/build-filenamev 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/parent/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/parent/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/parent/.dirs/system-config1:/tmp/test_file_T1KD02/file/parent/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/parent/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/parent/.dirs/system-data1:/tmp/test_file_T1KD02/file/parent/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/parent/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/parent/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/parent/.dirs/runtime 1411s ok 4 /file/parent 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/child/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/child/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/child/.dirs/system-config1:/tmp/test_file_T1KD02/file/child/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/child/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/child/.dirs/system-data1:/tmp/test_file_T1KD02/file/child/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/child/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/child/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/child/.dirs/runtime 1411s ok 5 /file/child 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/empty-path/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/empty-path/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/empty-path/.dirs/system-config1:/tmp/test_file_T1KD02/file/empty-path/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/empty-path/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/empty-path/.dirs/system-data1:/tmp/test_file_T1KD02/file/empty-path/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/empty-path/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/empty-path/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/empty-path/.dirs/runtime 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1411s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1411s ok 6 /file/empty-path 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/type/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/type/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/type/.dirs/system-config1:/tmp/test_file_T1KD02/file/type/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/type/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/type/.dirs/system-data1:/tmp/test_file_T1KD02/file/type/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/type/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/type/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/type/.dirs/runtime 1411s ok 7 /file/type 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/parse-name/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/parse-name/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/parse-name/.dirs/system-config1:/tmp/test_file_T1KD02/file/parse-name/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/parse-name/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/parse-name/.dirs/system-data1:/tmp/test_file_T1KD02/file/parse-name/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/parse-name/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/parse-name/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/parse-name/.dirs/runtime 1411s ok 8 /file/parse-name 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/replace-load/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/replace-load/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/replace-load/.dirs/system-config1:/tmp/test_file_T1KD02/file/replace-load/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/replace-load/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/replace-load/.dirs/system-data1:/tmp/test_file_T1KD02/file/replace-load/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/replace-load/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/replace-load/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/replace-load/.dirs/runtime 1411s ok 9 /file/replace-load 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/system-config1:/tmp/test_file_T1KD02/file/replace-cancel/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/system-data1:/tmp/test_file_T1KD02/file/replace-cancel/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/replace-cancel/.dirs/runtime 1411s # Bug Reference: https://bugzilla.gnome.org/629301 1411s ok 10 /file/replace-cancel 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/system-config1:/tmp/test_file_T1KD02/file/replace-symlink/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/system-data1:/tmp/test_file_T1KD02/file/replace-symlink/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/replace-symlink/.dirs/runtime 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1411s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1411s # Using temporary directory /tmp/test_file_T1KD02/g_file_replace_symlink_RZUB02 1411s ok 11 /file/replace-symlink 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-new-tmp/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-new-tmp/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-new-tmp/.dirs/runtime 1411s ok 12 /file/async-new-tmp 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-new-tmp-dir/.dirs/runtime 1411s ok 13 /file/async-new-tmp-dir 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-delete/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-delete/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-delete/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-delete/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-delete/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-delete/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-delete/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-delete/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-delete/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-delete/.dirs/runtime 1411s ok 14 /file/async-delete 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-make-symlink/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-make-symlink/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-make-symlink/.dirs/runtime 1411s ok 15 /file/async-make-symlink 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/copy-preserve-mode/.dirs/runtime 1411s # Current umask: 2 1411s # Vector 0 1411s # Vector 1 1411s # Vector 2 1411s # Vector 3 1411s # Vector 4 1411s # Vector 5 1411s # Vector 6 1411s # Vector 7 1411s # Vector 8 1411s # Vector 9 1411s # Vector 10 1411s ok 16 /file/copy-preserve-mode 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/copy-async-with-closures/.dirs/runtime 1411s ok 17 /file/copy-async-with-closures 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/measure/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/measure/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/measure/.dirs/system-config1:/tmp/test_file_T1KD02/file/measure/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/measure/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/measure/.dirs/system-data1:/tmp/test_file_T1KD02/file/measure/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/measure/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/measure/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/measure/.dirs/runtime 1411s ok 18 /file/measure 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/measure-async/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/measure-async/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/measure-async/.dirs/system-config1:/tmp/test_file_T1KD02/file/measure-async/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/measure-async/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/measure-async/.dirs/system-data1:/tmp/test_file_T1KD02/file/measure-async/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/measure-async/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/measure-async/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/measure-async/.dirs/runtime 1411s ok 19 /file/measure-async 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/load-bytes/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/load-bytes/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/load-bytes/.dirs/system-config1:/tmp/test_file_T1KD02/file/load-bytes/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/load-bytes/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/load-bytes/.dirs/system-data1:/tmp/test_file_T1KD02/file/load-bytes/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/load-bytes/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/load-bytes/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/load-bytes/.dirs/runtime 1411s ok 20 /file/load-bytes 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_T1KD02/file/load-bytes-async/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_T1KD02/file/load-bytes-async/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/load-bytes-async/.dirs/runtime 1411s ok 21 /file/load-bytes-async 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/load-bytes-4gb/.dirs/runtime 1411s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/load-contents-4gb/.dirs/runtime 1411s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/load-contents-4gb-async/.dirs/runtime 1411s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/.dirs/runtime 1411s ok 25 /file/writev 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/build-attribute-list-for-copy/.dirs/runtime 1411s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1411s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1411s # 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::* 1411s # 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::* 1411s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1411s # Attributes for copy: standard::size,xattr::* 1411s # Attributes for copy: standard::size,unix::mode,xattr::* 1411s ok 26 /file/build-attribute-list-for-copy 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/move_async/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/move_async/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/move_async/.dirs/system-config1:/tmp/test_file_T1KD02/file/move_async/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/move_async/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/move_async/.dirs/system-data1:/tmp/test_file_T1KD02/file/move_async/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/move_async/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/move_async/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/move_async/.dirs/runtime 1411s ok 27 /file/move_async 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/move-async-with-closures/.dirs/runtime 1411s ok 28 /file/move-async-with-closures 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/query-zero-length-content-type/.dirs/runtime 1411s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1411s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1411s ok 29 /file/query-zero-length-content-type 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/runtime 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/data/applications 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/config 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/config 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/config 1411s ok 30 /file/query-default-handler-file 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/runtime 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/data/applications 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/config 1411s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_T1KD02/file/query-default-handler-file/.dirs/config to /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/config 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/config 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/config 1411s ok 31 /file/query-default-handler-file-async 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/runtime 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/data/applications 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/config 1411s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_T1KD02/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/config 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/config 1411s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/config 1412s ok 32 /file/query-default-handler-uri 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/runtime 1412s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/data/applications 1412s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/config 1412s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_T1KD02/file/query-default-handler-uri/.dirs/config to /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/config 1412s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/config 1412s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T1KD02/file/query-default-handler-uri-async/.dirs/config 1412s ok 33 /file/query-default-handler-uri-async 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/enumerator-cancellation/.dirs/runtime 1412s ok 34 /file/enumerator-cancellation 1412s # Start of async-create-delete tests 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-create-delete/0/.dirs/runtime 1412s ok 35 /file/async-create-delete/0 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-create-delete/1/.dirs/runtime 1412s ok 36 /file/async-create-delete/1 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-create-delete/10/.dirs/runtime 1412s ok 37 /file/async-create-delete/10 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-create-delete/25/.dirs/runtime 1412s ok 38 /file/async-create-delete/25 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/async-create-delete/4096/.dirs/runtime 1412s ok 39 /file/async-create-delete/4096 1412s # End of async-create-delete tests 1412s # Start of replace-symlink tests 1412s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/home 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/cache 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/system-config2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/config 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/system-data2 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/data 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/state 1412s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/replace-symlink/using-etag/.dirs/runtime 1412s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1412s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1412s # Using temporary directory /tmp/test_file_T1KD02/g_file_replace_symlink_using_etag_ECHP02 1413s # Executing: glib/file.test 1414s ok 40 /file/replace-symlink/using-etag 1414s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1414s # End of replace-symlink tests 1414s # Start of replace tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/system-config1:/tmp/test_file_T1KD02/file/replace/write-only/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/system-data1:/tmp/test_file_T1KD02/file/replace/write-only/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/replace/write-only/.dirs/runtime 1414s # /file/replace/write-only summary: Test various situations for g_file_replace() 1414s # Current umask: 2 1414s # Test 0, using temporary directory /tmp/test_file_T1KD02/g_file_replace_53KQ02 1414s # Test 1, using temporary directory /tmp/test_file_T1KD02/g_file_replace_9WKQ02 1414s # Test 2, using temporary directory /tmp/test_file_T1KD02/g_file_replace_JUNQ02 1414s # Test 3, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UEFQ02 1414s # Test 4, using temporary directory /tmp/test_file_T1KD02/g_file_replace_F8EQ02 1414s # Test 5, using temporary directory /tmp/test_file_T1KD02/g_file_replace_4ZEQ02 1414s # Test 6, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UYJQ02 1414s # Test 7, using temporary directory /tmp/test_file_T1KD02/g_file_replace_70HQ02 1414s # Test 8, using temporary directory /tmp/test_file_T1KD02/g_file_replace_3SHQ02 1414s # Test 9, using temporary directory /tmp/test_file_T1KD02/g_file_replace_LRHQ02 1414s # Test 10, using temporary directory /tmp/test_file_T1KD02/g_file_replace_ZW8P02 1414s # Test 11, using temporary directory /tmp/test_file_T1KD02/g_file_replace_H0CQ02 1414s # Test 12, using temporary directory /tmp/test_file_T1KD02/g_file_replace_DTCQ02 1414s # Test 13, using temporary directory /tmp/test_file_T1KD02/g_file_replace_HKCQ02 1414s # Test 14, using temporary directory /tmp/test_file_T1KD02/g_file_replace_P82P02 1414s # Test 15, using temporary directory /tmp/test_file_T1KD02/g_file_replace_3X1P02 1414s # Test 16, using temporary directory /tmp/test_file_T1KD02/g_file_replace_2F5P02 1414s # Test 17, using temporary directory /tmp/test_file_T1KD02/g_file_replace_GWHO02 1414s # Test 18, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UWKO02 1414s # Test 19, using temporary directory /tmp/test_file_T1KD02/g_file_replace_AAAO02 1414s # Test 20, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UDDO02 1414s # Test 21, using temporary directory /tmp/test_file_T1KD02/g_file_replace_6V5N02 1414s # Test 22, using temporary directory /tmp/test_file_T1KD02/g_file_replace_9S9N02 1414s # Test 23, using temporary directory /tmp/test_file_T1KD02/g_file_replace_VR9N02 1414s # Test 24, using temporary directory /tmp/test_file_T1KD02/g_file_replace_U76N02 1414s # Test 25, using temporary directory /tmp/test_file_T1KD02/g_file_replace_RAYN02 1414s # Test 26, using temporary directory /tmp/test_file_T1KD02/g_file_replace_D4XN02 1414s # Test 27, using temporary directory /tmp/test_file_T1KD02/g_file_replace_3UXN02 1414s # Test 28, using temporary directory /tmp/test_file_T1KD02/g_file_replace_PQ1N02 1414s # Test 29, using temporary directory /tmp/test_file_T1KD02/g_file_replace_0U0N02 1414s # Test 30, using temporary directory /tmp/test_file_T1KD02/g_file_replace_MO0N02 1414s # Test 31, using temporary directory /tmp/test_file_T1KD02/g_file_replace_BP8O02 1414s # Test 32, using temporary directory /tmp/test_file_T1KD02/g_file_replace_XT6O02 1414s # Test 33, using temporary directory /tmp/test_file_T1KD02/g_file_replace_5BAP02 1414s # Test 34, using temporary directory /tmp/test_file_T1KD02/g_file_replace_049O02 1414s # Test 35, using temporary directory /tmp/test_file_T1KD02/g_file_replace_2V9O02 1414s # Test 36, using temporary directory /tmp/test_file_T1KD02/g_file_replace_030O02 1414s # Test 37, using temporary directory /tmp/test_file_T1KD02/g_file_replace_J74O02 1414s # Test 38, using temporary directory /tmp/test_file_T1KD02/g_file_replace_302O02 1414s # Test 39, using temporary directory /tmp/test_file_T1KD02/g_file_replace_XPVO02 1414s # Test 40, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UMTO02 1414s # Test 41, using temporary directory /tmp/test_file_T1KD02/g_file_replace_7XXO02 1414s # Test 42, using temporary directory /tmp/test_file_T1KD02/g_file_replace_4BPO02 1414s # Test 43, using temporary directory /tmp/test_file_T1KD02/g_file_replace_LXMO02 1414s # Test 44, using temporary directory /tmp/test_file_T1KD02/g_file_replace_2BSO02 1414s # Test 45, using temporary directory /tmp/test_file_T1KD02/g_file_replace_78RO02 1414s # Test 46, using temporary directory /tmp/test_file_T1KD02/g_file_replace_SLQO02 1414s # Test 47, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UIQO02 1414s # Test 48, using temporary directory /tmp/test_file_T1KD02/g_file_replace_7A3M02 1414s # We do not have CAP_DAC_OVERRIDE or equivalent 1414s ok 41 /file/replace/write-only 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/system-config1:/tmp/test_file_T1KD02/file/replace/read-write/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/system-data1:/tmp/test_file_T1KD02/file/replace/read-write/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/replace/read-write/.dirs/runtime 1414s # /file/replace/read-write summary: Test various situations for g_file_replace() 1414s # Current umask: 2 1414s # Test 0, using temporary directory /tmp/test_file_T1KD02/g_file_replace_652M02 1414s # Test 1, using temporary directory /tmp/test_file_T1KD02/g_file_replace_PX2M02 1414s # Test 2, using temporary directory /tmp/test_file_T1KD02/g_file_replace_FB7M02 1414s # Test 3, using temporary directory /tmp/test_file_T1KD02/g_file_replace_ACYM02 1414s # Test 4, using temporary directory /tmp/test_file_T1KD02/g_file_replace_94XM02 1414s # Test 5, using temporary directory /tmp/test_file_T1KD02/g_file_replace_BXXM02 1414s # Test 6, using temporary directory /tmp/test_file_T1KD02/g_file_replace_LM1M02 1414s # Test 7, using temporary directory /tmp/test_file_T1KD02/g_file_replace_4MZM02 1414s # Test 8, using temporary directory /tmp/test_file_T1KD02/g_file_replace_5FZM02 1414s # Test 9, using temporary directory /tmp/test_file_T1KD02/g_file_replace_I7YM02 1414s # Test 10, using temporary directory /tmp/test_file_T1KD02/g_file_replace_Y4RM02 1414s # Test 11, using temporary directory /tmp/test_file_T1KD02/g_file_replace_MZPM02 1414s # Test 12, using temporary directory /tmp/test_file_T1KD02/g_file_replace_YTPM02 1414s # Test 13, using temporary directory /tmp/test_file_T1KD02/g_file_replace_0LPM02 1414s # Test 14, using temporary directory /tmp/test_file_T1KD02/g_file_replace_J7TM02 1414s # Test 15, using temporary directory /tmp/test_file_T1KD02/g_file_replace_RKLM02 1414s # Test 16, using temporary directory /tmp/test_file_T1KD02/g_file_replace_KIJM02 1414s # Test 17, using temporary directory /tmp/test_file_T1KD02/g_file_replace_7QOM02 1414s # Test 18, using temporary directory /tmp/test_file_T1KD02/g_file_replace_6WMM02 1414s # Test 19, using temporary directory /tmp/test_file_T1KD02/g_file_replace_FATN02 1414s # Test 20, using temporary directory /tmp/test_file_T1KD02/g_file_replace_X7WN02 1414s # Test 21, using temporary directory /tmp/test_file_T1KD02/g_file_replace_IOUN02 1414s # Test 22, using temporary directory /tmp/test_file_T1KD02/g_file_replace_XILN02 1414s # Test 23, using temporary directory /tmp/test_file_T1KD02/g_file_replace_HHLN02 1414s # Test 24, using temporary directory /tmp/test_file_T1KD02/g_file_replace_YSQN02 1414s # Test 25, using temporary directory /tmp/test_file_T1KD02/g_file_replace_LOON02 1414s # Test 26, using temporary directory /tmp/test_file_T1KD02/g_file_replace_1NON02 1414s # Test 27, using temporary directory /tmp/test_file_T1KD02/g_file_replace_HHON02 1414s # Test 28, using temporary directory /tmp/test_file_T1KD02/g_file_replace_RVFN02 1414s # Test 29, using temporary directory /tmp/test_file_T1KD02/g_file_replace_4VJN02 1414s # Test 30, using temporary directory /tmp/test_file_T1KD02/g_file_replace_YPJN02 1414s # Test 31, using temporary directory /tmp/test_file_T1KD02/g_file_replace_YMJN02 1414s # Test 32, using temporary directory /tmp/test_file_T1KD02/g_file_replace_9DAN02 1414s # Test 33, using temporary directory /tmp/test_file_T1KD02/g_file_replace_AE9M02 1414s # Test 34, using temporary directory /tmp/test_file_T1KD02/g_file_replace_Y78M02 1414s # Test 35, using temporary directory /tmp/test_file_T1KD02/g_file_replace_K08M02 1414s # Test 36, using temporary directory /tmp/test_file_T1KD02/g_file_replace_1GDN02 1414s # Test 37, using temporary directory /tmp/test_file_T1KD02/g_file_replace_8CQL02 1414s # Test 38, using temporary directory /tmp/test_file_T1KD02/g_file_replace_NEOL02 1414s # Test 39, using temporary directory /tmp/test_file_T1KD02/g_file_replace_B9RL02 1414s # Test 40, using temporary directory /tmp/test_file_T1KD02/g_file_replace_N2IL02 1414s # Test 41, using temporary directory /tmp/test_file_T1KD02/g_file_replace_TWHL02 1414s # Test 42, using temporary directory /tmp/test_file_T1KD02/g_file_replace_92LL02 1414s # Test 43, using temporary directory /tmp/test_file_T1KD02/g_file_replace_FLDL02 1414s # Test 44, using temporary directory /tmp/test_file_T1KD02/g_file_replace_9BBL02 1414s # Test 45, using temporary directory /tmp/test_file_T1KD02/g_file_replace_58AL02 1414s # Test 46, using temporary directory /tmp/test_file_T1KD02/g_file_replace_UVEL02 1414s # Test 47, using temporary directory /tmp/test_file_T1KD02/g_file_replace_JUEL02 1414s # Test 48, using temporary directory /tmp/test_file_T1KD02/g_file_replace_YY5K02 1414s # We do not have CAP_DAC_OVERRIDE or equivalent 1414s ok 42 /file/replace/read-write 1414s # End of replace tests 1414s # Start of copy tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/copy/progress/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/copy/progress/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/copy/progress/.dirs/system-config1:/tmp/test_file_T1KD02/file/copy/progress/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/copy/progress/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/copy/progress/.dirs/system-data1:/tmp/test_file_T1KD02/file/copy/progress/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/copy/progress/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/copy/progress/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/copy/progress/.dirs/runtime 1414s ok 43 /file/copy/progress 1414s # End of copy tests 1414s # Start of writev tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/no-bytes-written/.dirs/runtime 1414s ok 44 /file/writev/no-bytes-written 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/no-vectors/.dirs/runtime 1414s ok 45 /file/writev/no-vectors 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/empty-vectors/.dirs/runtime 1414s ok 46 /file/writev/empty-vectors 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/too-big-vectors/.dirs/runtime 1414s ok 47 /file/writev/too-big-vectors 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/async/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/async/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/async/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/async/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/async/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/async/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/async/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/async/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/async/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/async/.dirs/runtime 1414s ok 48 /file/writev/async 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/async_all/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/async_all/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/async_all/.dirs/runtime 1414s ok 49 /file/writev/async_all 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/async_all-empty-vectors/.dirs/runtime 1414s ok 50 /file/writev/async_all-empty-vectors 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/async_all-no-vectors/.dirs/runtime 1414s ok 51 /file/writev/async_all-no-vectors 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/async_all-to-big-vectors/.dirs/runtime 1414s ok 52 /file/writev/async_all-to-big-vectors 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/writev/async_all-cancellation/.dirs/runtime 1414s ok 53 /file/writev/async_all-cancellation 1414s # End of writev tests 1414s # Start of from-uri tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/from-uri/ignores-query-string/.dirs/runtime 1414s ok 54 /file/from-uri/ignores-query-string 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T1KD02/file/from-uri/ignores-fragment/.dirs/runtime 1414s ok 55 /file/from-uri/ignores-fragment 1414s # End of from-uri tests 1414s # End of file tests 1414s ok - glib/file.test 1414s # Running test: glib/readwrite.test 1414s TAP version 14 1414s # random seed: R02S71624fe8a2917c4da414e7b5a74b3f8d 1414s 1..3 1414s # Start of readwrite tests 1414s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1414s ok 1 /readwrite/test_g_file_open_readwrite 1414s ok 2 /readwrite/test_g_file_create_readwrite 1414s ok 3 /readwrite/test_g_file_replace_readwrite 1414s # End of readwrite tests 1414s ok - glib/readwrite.test 1414s # Running test: glib/utf8-misc.test 1414s TAP version 14 1414s # random seed: R02Sa4603458e607f8fa9413a405d790e7a7 1414s 1..7 1414s # Start of utf8 tests 1414s ok 1 /utf8/strlen 1414s ok 2 /utf8/strncpy 1414s ok 3 /utf8/strrchr 1414s ok 4 /utf8/reverse 1414s ok 5 /utf8/substring 1414s ok 6 /utf8/make-valid 1414s ok 7 /utf8/truncate-middle 1414s # End of utf8 tests 1414s ok - glib/utf8-misc.test 1414s # Running test: glib/basics-gobject.test 1414s TAP version 14 1414s # random seed: R02S5e2ebefd0e62f0d3a8235f22034123de 1414s 1..1 1414s # Start of gobject tests 1414s # private data during initialization: 54321 == 54321 1414s # MAIN: emit test-signal: 1414s # ::test_signal default_handler called 1414s # ::test_signal default_handler called 1414s # ::test_signal default_handler called 1414s # signal return: "" 1414s # MAIN: call iface print-string on test and derived object: 1414s # Iface-FOO: "iface-string-from-test-type" from 0xbe7ff633d7b0 1414s # Iface-BAR: "iface-string-from-derived-type" from 0xbe7ff633d6d0 1414s # chaining: 1414s # Iface-FOO: "iface-string-from-derived-type" from 0xbe7ff633d6d0 1414s # private data after initialization: 54321 == 54321 1414s ok 1 /gobject/basics 1414s # End of gobject tests 1414s ok - glib/basics-gobject.test 1414s # Running test: glib/memory-monitor-dbus.test 1414s TAP version 13 1414s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1414s 1..1 1414s ok - glib/memory-monitor-dbus.test 1414s # Running test: glib/cmph-bdz.test 1414s TAP version 14 1414s # random seed: R02Sa12dffe4076176827335f4d44d8dcf5f 1414s 1..2 1414s # Start of cmph-bdz tests 1414s ok 1 /cmph-bdz/search 1414s ok 2 /cmph-bdz/search-packed 1414s # End of cmph-bdz tests 1414s ok - glib/cmph-bdz.test 1414s # Running test: glib/properties.test 1414s TAP version 14 1414s # random seed: R02Sf1ddbdb39db2e0d6a6fc43b7ac75cf44 1414s 1..13 1414s # Start of properties tests 1414s ok 1 /properties/install 1414s ok 2 /properties/install-many 1414s ok 3 /properties/notify 1414s ok 4 /properties/notify-queue 1414s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1414s ok 5 /properties/construct 1414s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1414s # Test g_object_get_property with an initialized value 1414s # Test g_object_get_property with an uninitialized value 1414s # Test g_object_get_property with a transformable value 1414s ok 6 /properties/get-property 1414s ok 7 /properties/testv_with_no_properties 1414s ok 8 /properties/testv_with_valid_properties 1414s ok 9 /properties/testv_with_invalid_property_type 1414s ok 10 /properties/testv_with_invalid_property_names 1414s ok 11 /properties/testv_getv 1414s ok 12 /properties/testv_notify_queue 1414s # Start of set-property tests 1414s # Start of variant tests 1414s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1414s ok 13 /properties/set-property/variant/floating 1414s # End of variant tests 1414s # End of set-property tests 1414s # End of properties tests 1414s ok - glib/properties.test 1414s # Running test: glib/cond.test 1414s TAP version 14 1414s # random seed: R02S6a6a6d4748382a7c09f2d93178c150ec 1414s 1..4 1414s # Start of thread tests 1414s ok 1 /thread/cond1 1414s ok 2 /thread/cond2 1414s # Start of cond tests 1415s ok 3 /thread/cond/wait-until 1415s # slow test /thread/cond/wait-until executed in 1.02 secs 1415s # Start of wait-until tests 1415s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1415s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1416s ok 4 /thread/cond/wait-until/contended-and-interrupted 1416s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1416s # End of wait-until tests 1416s # End of cond tests 1416s # End of thread tests 1416s ok - glib/cond.test 1416s # Running test: glib/filter-streams.test 1416s TAP version 14 1416s # random seed: R02S1bf024a2353fc19a03f3c274aa2c6b42 1416s 1..4 1416s # Start of filter-stream tests 1416s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1416s ok 1 /filter-stream/input 1416s ok 2 /filter-stream/output 1416s ok 3 /filter-stream/async-input 1416s ok 4 /filter-stream/async-output 1416s # End of filter-stream tests 1416s ok - glib/filter-streams.test 1416s # Running test: glib/bindinggroup.test 1416s TAP version 14 1416s # random seed: R02S429999a6e6cac34bbe34b49da1ec2b11 1416s 1..11 1416s # Start of GObject tests 1416s # Start of BindingGroup tests 1416s ok 1 /GObject/BindingGroup/invalid 1417s ok 2 /GObject/BindingGroup/default 1417s ok 3 /GObject/BindingGroup/bidirectional 1417s ok 4 /GObject/BindingGroup/transform 1417s ok 5 /GObject/BindingGroup/transform-closures 1417s ok 6 /GObject/BindingGroup/same-object 1417s ok 7 /GObject/BindingGroup/weak-ref-source 1417s ok 8 /GObject/BindingGroup/weak-ref-target 1417s ok 9 /GObject/BindingGroup/properties 1417s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1417s ok 11 /GObject/BindingGroup/empty-closures 1417s # End of BindingGroup tests 1417s # End of GObject tests 1417s ok - glib/bindinggroup.test 1417s # Running test: glib/signalgroup.test 1417s TAP version 14 1417s # random seed: R02S66192b891a52eda4867bab8e8aa66e68 1417s 1..9 1417s # Start of GObject tests 1417s # Start of SignalGroup tests 1417s ok 1 /GObject/SignalGroup/invalid 1417s ok 2 /GObject/SignalGroup/simple 1417s ok 3 /GObject/SignalGroup/changing-target 1417s ok 4 /GObject/SignalGroup/blocking 1417s ok 5 /GObject/SignalGroup/weak-ref-target 1417s ok 6 /GObject/SignalGroup/connect-object 1417s ok 7 /GObject/SignalGroup/signal-parsing 1417s ok 8 /GObject/SignalGroup/properties 1417s ok 9 /GObject/SignalGroup/interface 1417s # Start of signal-parsing tests 1417s # End of signal-parsing tests 1417s # End of SignalGroup tests 1417s # End of GObject tests 1417s ok - glib/signalgroup.test 1417s # Running test: glib/permission.test 1417s TAP version 14 1417s # random seed: R02S8c904e9976ebc2bb10f8420ba3086c9b 1417s 1..1 1417s # Start of permission tests 1417s ok 1 /permission/simple 1417s # End of permission tests 1417s ok - glib/permission.test 1417s # Running test: glib/unix-mounts.test 1417s TAP version 14 1417s # random seed: R02S95ed180007332c30d618ac0eb5c6aa56 1417s 1..4 1417s # Start of unix-mounts tests 1417s ok 1 /unix-mounts/is-system-fs-type 1417s ok 2 /unix-mounts/is-system-device-path 1417s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1417s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1417s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1417s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1417s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1417s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1417s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1417s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1417s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1417s ok 3 /unix-mounts/get-mount-points 1417s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1417s ok 4 /unix-mounts/get-mount-entries 1417s # End of unix-mounts tests 1417s ok - glib/unix-mounts.test 1417s # Running test: glib/thread-pool.test 1417s TAP version 14 1417s # random seed: R02S9e03ce4a3f3eaabfe5b09925a3a151e4 1417s 1..5 1417s # Start of thread_pool tests 1417s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1417s ok 1 /thread_pool/shared 1417s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1417s ok 2 /thread_pool/exclusive 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1417s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1417s ok 3 /thread_pool/create_shared_after_exclusive 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1417s ok 4 /thread_pool/create_full 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1417s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1417s ok 5 /thread_pool/create_exclusive_after_shared 1417s # End of thread_pool tests 1417s ok - glib/thread-pool.test 1417s # Running test: glib/power-profile-monitor.test 1417s TAP version 14 1417s # random seed: R02S0ac985ea2d699413ee430d66d9e69a55 1417s 1..1 1417s # Start of power-profile-monitor tests 1417s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1417s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1417s ok 1 /power-profile-monitor/default 1417s # End of power-profile-monitor tests 1417s ok - glib/power-profile-monitor.test 1417s # Running test: glib/utils-c-11.test 1417s TAP version 14 1417s # random seed: R02S0196618f236f11626e92be62d7089824 1417s 1..40 1417s # Start of utils tests 1417s ok 1 /utils/language-names 1417s ok 2 /utils/locale-variants 1417s ok 3 /utils/version 1417s ok 4 /utils/appname 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1417s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1417s ok 5 /utils/prgname-thread-safety 1417s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1417s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1417s ok 6 /utils/tmpdir 1417s ok 7 /utils/basic_bits 1417s ok 8 /utils/bits 1417s ok 9 /utils/swap 1417s ok 10 /utils/find-program 1417s ok 11 /utils/find-program-for-path 1417s ok 12 /utils/debug 1417s ok 13 /utils/codeset 1417s ok 14 /utils/codeset2 1417s ok 15 /utils/console-charset 1417s ok 16 /utils/gettext 1417s ok 17 /utils/username 1417s ok 18 /utils/realname 1417s ok 19 /utils/hostname 1417s ok 20 /utils/xdgdirs 1417s ok 21 /utils/specialdir 1417s # NAME: Ubuntu 1417s ok 22 /utils/os-info 1417s ok 23 /utils/clear-pointer 1417s ok 24 /utils/clear-pointer-cast 1417s ok 25 /utils/take-pointer 1417s ok 26 /utils/clear-source 1417s ok 27 /utils/misc-mem 1417s # /utils/aligned-mem summary: Aligned memory allocator 1417s # Alignment must not be zero 1417s # Alignment must be a power of two 1417s # Alignment must be a multiple of sizeof(void*) 1417s ok 28 /utils/aligned-mem 1417s # /utils/free-sized summary: Check that g_free_sized() works 1417s ok 29 /utils/free-sized 1417s ok 30 /utils/nullify 1417s ok 31 /utils/atexit 1417s ok 32 /utils/check-setuid 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1417s ok 33 /utils/int-limits 1417s ok 34 /utils/clear-list 1417s ok 35 /utils/clear-slist 1417s # Start of specialdir tests 1417s ok 36 /utils/specialdir/desktop 1417s # End of specialdir tests 1417s # Start of clear-pointer tests 1417s ok 37 /utils/clear-pointer/side-effects 1417s # End of clear-pointer tests 1417s # Start of aligned-mem tests 1417s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1417s ok 38 /utils/aligned-mem/alignment 1417s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1417s ok 39 /utils/aligned-mem/zeroed 1417s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1417s ok 40 /utils/aligned-mem/free-sized 1417s # Start of subprocess tests 1417s # End of subprocess tests 1417s # End of aligned-mem tests 1417s # End of utils tests 1417s ok - glib/utils-c-11.test 1417s # Running test: glib/markup-subparser.test 1417s TAP version 14 1417s # random seed: R02S6ec200da150098b113e2e6cb5f11884d 1417s 1..14 1417s # Start of glib tests 1417s # Start of markup tests 1417s # Start of subparser tests 1417s # Start of success tests 1417s ok 1 /glib/markup/subparser/success/0 1417s ok 2 /glib/markup/subparser/success/1 1417s ok 3 /glib/markup/subparser/success/2 1417s ok 4 /glib/markup/subparser/success/3 1417s ok 5 /glib/markup/subparser/success/4 1417s ok 6 /glib/markup/subparser/success/5 1417s ok 7 /glib/markup/subparser/success/6 1417s # End of success tests 1417s # Start of failure tests 1417s ok 8 /glib/markup/subparser/failure/0 1417s ok 9 /glib/markup/subparser/failure/1 1417s ok 10 /glib/markup/subparser/failure/2 1417s ok 11 /glib/markup/subparser/failure/3 1417s ok 12 /glib/markup/subparser/failure/4 1417s ok 13 /glib/markup/subparser/failure/5 1417s ok 14 /glib/markup/subparser/failure/6 1417s # End of failure tests 1417s # End of subparser tests 1417s # End of markup tests 1417s # End of glib tests 1417s ok - glib/markup-subparser.test 1417s # Running test: glib/atomic-c-99.test 1417s TAP version 14 1417s # random seed: R02S1e94e90cb22de82c0bb48e7fc8299481 1417s 1..2 1417s # Start of atomic tests 1417s ok 1 /atomic/types 1417s ok 2 /atomic/threaded 1417s # End of atomic tests 1417s ok - glib/atomic-c-99.test 1417s # Running test: glib/converter.test 1417s TAP version 14 1417s # random seed: R02S7204755f9c84859d07bf9e8b2ba46f44 1417s 1..1 1417s # Start of converter tests 1417s ok 1 /converter/bytes 1417s # End of converter tests 1417s ok - glib/converter.test 1417s # Running test: glib/queue.test 1417s TAP version 14 1417s # random seed: R02S174194cf4f3c4cb8ed5ee1f9ed09ef32 1417s 1..12 1417s # Start of queue tests 1417s ok 1 /queue/basic 1417s ok 2 /queue/copy 1417s ok 3 /queue/off-by-one 1417s ok 4 /queue/find-custom 1417s ok 5 /queue/static 1417s ok 6 /queue/clear 1417s ok 7 /queue/free-full 1417s ok 8 /queue/clear-full 1417s ok 9 /queue/insert-sibling-link 1417s ok 10 /queue/push-nth-link 1417s # Start of clear-full tests 1417s ok 11 /queue/clear-full/noop 1417s # End of clear-full tests 1417s # Start of random tests 1417s ok 12 /queue/random/seed:1049237277 1417s # End of random tests 1417s # End of queue tests 1417s ok - glib/queue.test 1417s # Running test: glib/trash.test 1417s TAP version 14 1417s # random seed: R02S0b0ac41940bae29b7c8696d59dc2acc1 1417s 1..3 1417s # Start of trash tests 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1417s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1417s # File: /tmp/test-trash56BO02 (parent st_dev: 64769) 1417s # Home: /home/ubuntu (st_dev: 64769) 1417s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1417s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1417s # Target: /home/ubuntu/.local (mount: /) 1417s # Tmp: /tmp/test-trash0HBO02 (mount: /) 1417s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1417s ok 3 /trash/long-filename 1417s # End of trash tests 1417s ok - glib/trash.test 1417s # Running test: glib/gdbus-proxy-threads.test 1417s TAP version 14 1417s # random seed: R02Sa91d5e082e9b81fe26bded6a9148672f 1417s 1..1 1417s # Start of gdbus tests 1417s # Start of proxy tests 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_D15N02/gdbus/proxy/vs-threads/.dirs/runtime 1417s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1418s ok 1 /gdbus/proxy/vs-threads 1418s # slow test /gdbus/proxy/vs-threads executed in 0.87 secs 1418s # End of proxy tests 1418s # End of gdbus tests 1418s cleaning up pid 12515 1418s ok - glib/gdbus-proxy-threads.test 1418s # Running test: glib/resolver-parsing.test 1418s TAP version 14 1418s # random seed: R02S0fab9ceb7a573ee9681f8535b56ce738 1418s 1..21 1418s # Start of gresolver tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/invalid-header/.dirs/runtime 1418s ok 1 /gresolver/invalid-header 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/record-ownership/.dirs/runtime 1418s ok 2 /gresolver/record-ownership 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/unknown-record-type/.dirs/runtime 1418s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1418s ok 3 /gresolver/unknown-record-type 1418s # Start of mx tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/mx/valid/.dirs/runtime 1418s ok 4 /gresolver/mx/valid 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/.dirs/runtime 1418s ok 5 /gresolver/mx/invalid 1418s # Start of invalid tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short/.dirs/runtime 1418s ok 6 /gresolver/mx/invalid/too-short 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/mx/invalid/too-short2/.dirs/runtime 1418s ok 7 /gresolver/mx/invalid/too-short2 1418s # End of invalid tests 1418s # End of mx tests 1418s # Start of ns tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/ns/valid/.dirs/runtime 1418s ok 8 /gresolver/ns/valid 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/ns/invalid/.dirs/runtime 1418s ok 9 /gresolver/ns/invalid 1418s # End of ns tests 1418s # Start of soa tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/soa/valid/.dirs/runtime 1418s ok 10 /gresolver/soa/valid 1418s # Start of invalid tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/mname/.dirs/runtime 1418s ok 11 /gresolver/soa/invalid/mname 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/rname/.dirs/runtime 1418s ok 12 /gresolver/soa/invalid/rname 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/soa/invalid/too-short/.dirs/runtime 1418s ok 13 /gresolver/soa/invalid/too-short 1418s # End of invalid tests 1418s # End of soa tests 1418s # Start of srv tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/srv/valid/.dirs/runtime 1418s ok 14 /gresolver/srv/valid 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/.dirs/runtime 1418s ok 15 /gresolver/srv/invalid 1418s # Start of invalid tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short/.dirs/runtime 1418s ok 16 /gresolver/srv/invalid/too-short 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/srv/invalid/too-short2/.dirs/runtime 1418s ok 17 /gresolver/srv/invalid/too-short2 1418s # End of invalid tests 1418s # End of srv tests 1418s # Start of txt tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/.dirs/runtime 1418s ok 18 /gresolver/txt/valid 1418s # Start of valid tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/txt/valid/multiple-strings/.dirs/runtime 1418s ok 19 /gresolver/txt/valid/multiple-strings 1418s # End of valid tests 1418s # Start of invalid tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/empty/.dirs/runtime 1418s ok 20 /gresolver/txt/invalid/empty 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_55JF02/gresolver/txt/invalid/overflow/.dirs/runtime 1418s ok 21 /gresolver/txt/invalid/overflow 1418s # End of invalid tests 1418s # End of txt tests 1418s # End of gresolver tests 1418s ok - glib/resolver-parsing.test 1418s # Running test: glib/macros-c-17.test 1418s TAP version 14 1418s # random seed: R02S341115e90619895de5888662abfcfc35 1418s 1..4 1418s # Start of C tests 1418s ok 1 /C/standard-17 1418s # End of C tests 1418s # Start of alignof tests 1418s ok 2 /alignof/fallback 1418s # End of alignof tests 1418s # Start of assert tests 1418s ok 3 /assert/static 1418s # End of assert tests 1418s # Start of struct tests 1418s ok 4 /struct/sizeof_member 1418s # End of struct tests 1418s ok - glib/macros-c-17.test 1418s # Running test: glib/io-stream.test 1418s TAP version 14 1418s # random seed: R02S14d359d1021f3bab1acc986f10a1cd36 1418s 1..3 1418s # Start of io-stream tests 1418s ok 1 /io-stream/copy-chunks 1418s # Start of close tests 1418s # Start of async tests 1418s ok 2 /io-stream/close/async/memory 1418s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1418s ok 3 /io-stream/close/async/file 1418s # End of async tests 1418s # End of close tests 1418s # End of io-stream tests 1418s ok - glib/io-stream.test 1418s # Running test: glib/refcount.test 1418s TAP version 14 1418s # random seed: R02S26b3ac5f929ca9a9c45e55bcf6fb9b6b 1418s 1..4 1418s # Start of refcount tests 1418s ok 1 /refcount/grefcount 1418s ok 2 /refcount/gatomicrefcount 1418s # Start of grefcount tests 1418s ok 3 /refcount/grefcount/saturation 1418s # End of grefcount tests 1418s # Start of gatomicrefcount tests 1418s ok 4 /refcount/gatomicrefcount/saturation 1418s # End of gatomicrefcount tests 1418s # End of refcount tests 1418s ok - glib/refcount.test 1418s # Running test: glib/cancellable.test 1418s TAP version 14 1418s # random seed: R02S14907ed8b60a22ba0ed9e8c0c41eafb1 1418s 1..10 1418s # Start of cancellable tests 1418s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1418s ok 2 /cancellable/null 1418s # /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 1418s # Executing: glib/cancellable.test 1418s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1418s # /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 1418s ok 4 /cancellable/resets-on-cancel-callback-hangs 1418s ok 5 /cancellable/poll-fd 1418s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1418s ok 6 /cancellable/poll-fd-cancelled 1418s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1418s ok 7 /cancellable/poll-fd-cancelled-threaded 1418s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1418s ok 8 /cancellable/cancel-reset-races 1418s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1418s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1418s # End of cancellable tests 1418s # Start of cancellable-source tests 1418s # /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) 1418s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1419s ok 10 /cancellable-source/threaded-dispose 1419s # slow test /cancellable-source/threaded-dispose executed in 0.94 secs 1419s # End of cancellable-source tests 1419s ok - glib/cancellable.test 1419s # Running test: glib/gdbus-message.test 1419s TAP version 14 1419s # random seed: R02S4fa29435f9864b76db6ad12d0b7d5d29 1419s 1..3 1419s # Start of gdbus tests 1419s # Start of message tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_D4VL02/gdbus/message/lock/.dirs/runtime 1419s ok 1 /gdbus/message/lock 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_D4VL02/gdbus/message/copy/.dirs/runtime 1419s ok 2 /gdbus/message/copy 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_D4VL02/gdbus/message/bytes-needed/.dirs/runtime 1419s # Vector: 0 1419s # Vector: 1 1419s # Vector: 2 1419s # Vector: 3 1419s # Vector: 4 1419s # Vector: 5 1419s ok 3 /gdbus/message/bytes-needed 1419s # End of message tests 1419s # End of gdbus tests 1419s ok - glib/gdbus-message.test 1419s # Running test: glib/atomic-c-11.test 1419s TAP version 14 1419s # random seed: R02S1d526450ebfd60f3a1ad2ef36f372435 1419s 1..2 1419s # Start of atomic tests 1419s ok 1 /atomic/types 1419s ok 2 /atomic/threaded 1419s # End of atomic tests 1419s ok - glib/atomic-c-11.test 1419s # Running test: glib/enums.test 1419s TAP version 14 1419s # random seed: R02Sc5d6e025d8a353805394d7c62f752ef9 1419s 1..4 1419s # Start of enum tests 1419s ok 1 /enum/basic 1419s ok 2 /enum/define-type 1419s # End of enum tests 1419s # Start of flags tests 1419s ok 3 /flags/basic 1419s ok 4 /flags/define-type 1419s # End of flags tests 1419s ok - glib/enums.test 1419s # Running test: glib/cxx.test 1419s TAP version 14 1419s # random seed: R02S56217b747b0b7609970f042b31d44f91 1419s 1..2 1419s # Start of gtask tests 1419s # 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. 1419s ok 1 /gtask/name 1419s # Start of name tests 1419s # 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. 1419s ok 2 /gtask/name/macro-wrapper 1419s # End of name tests 1419s # End of gtask tests 1419s ok - glib/cxx.test 1419s # Running test: glib/cxx-14.test 1419s TAP version 14 1419s # random seed: R02S802da5ec6b60ef3417a6677adbf7bd0d 1419s 1..2 1419s # Start of gtask tests 1419s # 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. 1419s ok 1 /gtask/name 1419s # Start of name tests 1419s # 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. 1419s ok 2 /gtask/name/macro-wrapper 1419s # End of name tests 1419s # End of gtask tests 1419s ok - glib/cxx-14.test 1419s # Running test: glib/buffered-output-stream.test 1419s TAP version 14 1419s # random seed: R02Sf11a3fd5b57c08d95e8fce47ca186279 1419s 1..5 1419s # Start of buffered-output-stream tests 1419s ok 1 /buffered-output-stream/write 1419s ok 2 /buffered-output-stream/grow 1419s ok 3 /buffered-output-stream/seek 1419s ok 4 /buffered-output-stream/truncate 1419s # End of buffered-output-stream tests 1419s # Start of filter-output-stream tests 1419s ok 5 /filter-output-stream/close 1419s # End of filter-output-stream tests 1419s ok - glib/buffered-output-stream.test 1419s # Running test: glib/gdbus-test-codegen.test 1419s TAP version 14 1419s # random seed: R02S372a93b0d6353737595e280ed9a6eff0 1419s 1..8 1419s # Start of gdbus tests 1419s # Start of codegen tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/annotations/.dirs/runtime 1419s ok 1 /gdbus/codegen/annotations 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/interface_stability/.dirs/runtime 1419s ok 2 /gdbus/codegen/interface_stability 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/object-manager/.dirs/runtime 1419s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1419s ok 3 /gdbus/codegen/object-manager 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/property-naming/.dirs/runtime 1419s ok 4 /gdbus/codegen/property-naming 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/autocleanups/.dirs/runtime 1419s ok 5 /gdbus/codegen/autocleanups 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/deprecations/.dirs/runtime 1419s ok 6 /gdbus/codegen/deprecations 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1419s ok 7 /gdbus/codegen/standalone-interface-info 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_B476Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1419s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1419s ok 8 /gdbus/codegen/unix-fd-list 1419s # End of codegen tests 1419s # End of gdbus tests 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok - glib/gdbus-test-codegen.test 1419s # Running test: glib/gdbus-connection-flush.test 1419s TAP version 14 1419s # random seed: R02Sbb437f50ebe8ef7af6df5cd404ce6d70 1419s 1..2 1419s # Start of gdbus tests 1419s # Start of connection tests 1419s # Start of flush tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/busy/.dirs/runtime 1419s ok 1 /gdbus/connection/flush/busy 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_RV35Z2/gdbus/connection/flush/idle/.dirs/runtime 1419s ok 2 /gdbus/connection/flush/idle 1419s # End of flush tests 1419s # End of connection tests 1419s # End of gdbus tests 1419s ok - glib/gdbus-connection-flush.test 1419s # Running test: glib/gnotification.test 1419s TAP version 14 1419s # random seed: R02S99ccea8f76cf3ab13611cfb9696af672 1419s 1..2 1419s # Start of gnotification tests 1419s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1419s ok 1 /gnotification/basic 1419s ok 2 /gnotification/properties 1419s # End of gnotification tests 1419s ok - glib/gnotification.test 1419s # Running test: glib/cxx-2b.test 1419s TAP version 14 1419s # random seed: R02S47afc7e9c3310bb5a23e0c2b1f435454 1419s 1..2 1419s # Start of gtask tests 1419s # 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. 1419s ok 1 /gtask/name 1419s # Start of name tests 1419s # 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. 1419s ok 2 /gtask/name/macro-wrapper 1419s # End of name tests 1419s # End of gtask tests 1419s ok - glib/cxx-2b.test 1419s # Running test: glib/memory-monitor.test 1419s TAP version 14 1419s # random seed: R02S45f8a7080dd3897ef0c99093915777dc 1419s 1..1 1419s # Start of memory-monitor tests 1419s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1419s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1419s ok 1 /memory-monitor/default 1419s # End of memory-monitor tests 1419s ok - glib/memory-monitor.test 1419s # Running test: glib/sandbox.test 1419s TAP version 14 1419s # random seed: R02S29c7c88f4a5e619ff8c03f9a177867d7 1419s 1..4 1419s # Start of sandbox tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BKG6Z2/sandbox/none/.dirs/runtime 1419s ok 1 /sandbox/none 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BKG6Z2/sandbox/snap/.dirs/runtime 1419s # Created snap.yaml in /tmp/test_sandbox_BKG6Z2/snap/current/meta/snap.yaml 1419s ok 2 /sandbox/snap 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BKG6Z2/sandbox/classic-snap/.dirs/runtime 1419s # Created snap.yaml in /tmp/test_sandbox_BKG6Z2/snap/current/meta/snap.yaml 1419s ok 3 /sandbox/classic-snap 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/runtime 1419s # Creating .flatpak-info in /tmp/test_sandbox_BKG6Z2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1419s ok 4 /sandbox/flatpak 1419s # End of sandbox tests 1419s ok - glib/sandbox.test 1419s # Running test: glib/gdbus-bz627724.test 1419s TAP version 14 1419s # random seed: R02S6f8e5727b3775a5029b6490de0da824b 1419s 1..1 1419s # Start of gdbus tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_PZP4Z2/gdbus/bz627724/.dirs/runtime 1419s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 1 /gdbus/bz627724 1419s # End of gdbus tests 1419s ok - glib/gdbus-bz627724.test 1419s # Running test: glib/gdbus-subscribe.test 1419s TAP version 14 1419s # random seed: R02Sfbe8a29986fb91539b2cd1f1d3ca1f7e 1419s 1..24 1419s # Start of gdbus tests 1419s # Start of subscribe tests 1419s # Start of conn tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/simple/.dirs/runtime 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1419s # Step 0: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 1: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 2: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 2 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 1 /gdbus/subscribe/conn/simple 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1419s # Step 0: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: service 2 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 3: emitting signal 1419s # Sender: service 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 4: emitting signal 1419s # Sender: service 2 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 1 1419s # Signal received from service 2 :1.2 1419s # Signal received from service 2 :1.2 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 2 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 3 1419s # Signal received from service 2 :1.2 1419s # Signal received from service 2 :1.2 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1419s # Step 0: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 1: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: (any) 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 2: adding subscription 1419s # Sender: (any) 1419s # Path: (any) 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 3: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 4: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 3 /gdbus/subscribe/conn/match_twice 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1419s # Step 0: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 3: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 3 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1419s # Step 0: adding subscription 1419s # Sender: :0.this.had.better.not.exist 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /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 1419s # Step 0: claiming bus name 1419s # Name: org.gtk.Test.AlreadyOwned 1419s # Owner: service 1419s # Step 1: adding subscription 1419s # Sender: org.gtk.Test.AlreadyOwned 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 2: adding subscription 1419s # Sender: org.gtk.Test.OwnedLater 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 3: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 4: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 5: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 6: claiming bus name 1419s # Name: org.gtk.Test.OwnedLater 1419s # Owner: service 1419s # Step 7: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 5 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1419s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1419s # Step 0: adding subscription 1419s # Sender: org.freedesktop.DBus 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: NameOwnerChanged 1419s # String argument 0: would I lie to you? 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: NameOwnerChanged 1419s # Waiting for signal to reach message bus 1419s # Step 3: claiming bus name 1419s # Name: org.gtk.Test.OwnedLater 1419s # Owner: service 1419s # Signal received from message bus org.freedesktop.DBus 1419s # Signal received from (unused) org.freedesktop.DBus via connection 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: NameOwnerChanged 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1419s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1419s # Step 0: claiming bus name 1419s # Name: org.gtk.Test.AlreadyOwned 1419s # Owner: service 1419s # Step 1: adding subscription 1419s # Sender: org.gtk.Test.AlreadyOwned 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Immediately unsubscribing 1419s # Waiting for AddMatch to be processed 1419s # Step 2: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1419s # End of conn tests 1419s # Start of proxy tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/simple/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1419s # Step 0: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 1: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 2: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 9 /gdbus/subscribe/proxy/simple 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1419s # Step 0: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: service 2 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 3: emitting signal 1419s # Sender: service 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 4: emitting signal 1419s # Sender: service 2 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1419s # Step 0: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: (any) 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 2: adding subscription 1419s # Sender: (any) 1419s # Path: (any) 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 3: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 4: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 11 /gdbus/subscribe/proxy/match_twice 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1419s # Step 0: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 3: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 3 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1419s # Step 0: adding subscription 1419s # Sender: :0.this.had.better.not.exist 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /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 1419s # Step 0: claiming bus name 1419s # Name: org.gtk.Test.AlreadyOwned 1419s # Owner: service 1419s # Step 1: adding subscription 1419s # Sender: org.gtk.Test.AlreadyOwned 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 2: adding subscription 1419s # Sender: org.gtk.Test.OwnedLater 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 3: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 4: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 5: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 6: claiming bus name 1419s # Name: org.gtk.Test.OwnedLater 1419s # Owner: service 1419s # Step 7: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 5 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1419s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1419s # Step 0: adding subscription 1419s # Sender: org.freedesktop.DBus 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: NameOwnerChanged 1419s # String argument 0: would I lie to you? 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: NameOwnerChanged 1419s # Waiting for signal to reach message bus 1419s # Step 3: claiming bus name 1419s # Name: org.gtk.Test.OwnedLater 1419s # Owner: service 1419s # Signal received from message bus org.freedesktop.DBus 1419s # Signal received from (unused) org.freedesktop.DBus via proxy 1419s # Path: /org/freedesktop/DBus 1419s # Interface: org.freedesktop.DBus 1419s # Member: NameOwnerChanged 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1419s # Step 0: claiming bus name 1419s # Name: org.gtk.Test.AlreadyOwned 1419s # Owner: service 1419s # Step 1: adding subscription 1419s # Sender: org.gtk.Test.AlreadyOwned 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 2: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 2 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1419s # End of proxy tests 1419s # Start of parallel tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/simple/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1419s # Step 0: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 1: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 2: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 2 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 17 /gdbus/subscribe/parallel/simple 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1419s # Step 0: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: service 2 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 3: emitting signal 1419s # Sender: service 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 4: emitting signal 1419s # Sender: service 2 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 1 1419s # Signal received from service 2 :1.2 1419s # Signal received from service 2 :1.2 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 2 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 3 1419s # Signal received from service 2 :1.2 1419s # Signal received from service 2 :1.2 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1419s # Step 0: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: adding subscription 1419s # Sender: (any) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: (any) 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 2: adding subscription 1419s # Sender: (any) 1419s # Path: (any) 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Cannot subscribe via proxy: no bus name 1419s # Waiting for AddMatch to be processed 1419s # Step 3: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 4: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 4 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1419s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 19 /gdbus/subscribe/parallel/match_twice 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1419s # Step 0: adding subscription 1419s # Sender: service :1.1 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 3: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 3 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 3 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1419s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1419s # Step 0: adding subscription 1419s # Sender: :0.this.had.better.not.exist 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 1: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 2: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1419s # Received Finished signal from service 2 :1.2 1419s # Received Finished signal from attacker :1.3 1419s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1419s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1419s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1419s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1419s # subscriber is :1.0 1419s # service is :1.1 1419s # service 2 is :1.2 1419s # attacker is :1.3 1419s # Waiting for AddMatch to be processed 1419s # /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 1419s # Step 0: claiming bus name 1419s # Name: org.gtk.Test.AlreadyOwned 1419s # Owner: service 1419s # Step 1: adding subscription 1419s # Sender: org.gtk.Test.AlreadyOwned 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 2: adding subscription 1419s # Sender: org.gtk.Test.OwnedLater 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: (any) 1419s # String argument 0: (any) 1419s # Flags: 0 1419s # Subscribing via connection 1419s # Subscribing via proxy 1419s # Waiting for AddMatch to be processed 1419s # Step 3: emitting signal 1419s # Sender: attacker 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 4: emitting signal 1419s # Sender: attacker 1419s # Destination: subscriber :1.0 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 5: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Step 6: claiming bus name 1419s # Name: org.gtk.Test.OwnedLater 1419s # Owner: service 1419s # Step 7: emitting signal 1419s # Sender: service 1419s # Destination: (broadcast) 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Waiting for signal to reach message bus 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 5 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 5 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via connection 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Signal received from service :1.1 1419s # Signal received from service :1.1 via proxy 1419s # Path: /org/gtk/GDBus/ExampleInterface 1419s # Interface: org.gtk.GDBus.ExampleInterface 1419s # Member: Foo 1419s # Argument 0: (not a string) 1419s # Sent in step: 7 1419s # Received Finished signal from subscriber :1.0 1419s # Received Finished signal from service :1.1 1420s # Received Finished signal from service 2 :1.2 1420s # Received Finished signal from attacker :1.3 1420s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1420s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1420s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1420s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1420s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1420s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1420s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1420s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1420s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1420s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1420s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1420s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1420s # subscriber is :1.0 1420s # service is :1.1 1420s # service 2 is :1.2 1420s # attacker is :1.3 1420s # Waiting for AddMatch to be processed 1420s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1420s # Step 0: adding subscription 1420s # Sender: org.freedesktop.DBus 1420s # Path: /org/freedesktop/DBus 1420s # Interface: org.freedesktop.DBus 1420s # Member: (any) 1420s # String argument 0: (any) 1420s # Flags: 0 1420s # Subscribing via connection 1420s # Subscribing via proxy 1420s # Waiting for AddMatch to be processed 1420s # Step 1: emitting signal 1420s # Sender: attacker 1420s # Destination: (broadcast) 1420s # Path: /org/freedesktop/DBus 1420s # Interface: org.freedesktop.DBus 1420s # Member: NameOwnerChanged 1420s # String argument 0: would I lie to you? 1420s # Waiting for signal to reach message bus 1420s # Step 2: emitting signal 1420s # Sender: attacker 1420s # Destination: subscriber :1.0 1420s # Path: /org/freedesktop/DBus 1420s # Interface: org.freedesktop.DBus 1420s # Member: NameOwnerChanged 1420s # Waiting for signal to reach message bus 1420s # Step 3: claiming bus name 1420s # Name: org.gtk.Test.OwnedLater 1420s # Owner: service 1420s # Signal received from message bus org.freedesktop.DBus 1420s # Signal received from (unused) org.freedesktop.DBus via connection 1420s # Path: /org/freedesktop/DBus 1420s # Interface: org.freedesktop.DBus 1420s # Member: NameOwnerChanged 1420s # Signal received from message bus org.freedesktop.DBus 1420s # Signal received from (unused) org.freedesktop.DBus via proxy 1420s # Path: /org/freedesktop/DBus 1420s # Interface: org.freedesktop.DBus 1420s # Member: NameOwnerChanged 1420s # Received Finished signal from subscriber :1.0 1420s # Received Finished signal from service :1.1 1420s # Received Finished signal from service 2 :1.2 1420s # Received Finished signal from attacker :1.3 1420s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1420s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1420s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1420s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1420s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1420s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_4EA4Z2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1420s # subscriber is :1.0 1420s # service is :1.1 1420s # service 2 is :1.2 1420s # attacker is :1.3 1420s # Waiting for AddMatch to be processed 1420s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1420s # Step 0: claiming bus name 1420s # Name: org.gtk.Test.AlreadyOwned 1420s # Owner: service 1420s # Step 1: adding subscription 1420s # Sender: org.gtk.Test.AlreadyOwned 1420s # Path: /org/gtk/GDBus/ExampleInterface 1420s # Interface: org.gtk.GDBus.ExampleInterface 1420s # Member: (any) 1420s # String argument 0: (any) 1420s # Flags: 0 1420s # Subscribing via connection 1420s # Immediately unsubscribing 1420s # Subscribing via proxy 1420s # Waiting for AddMatch to be processed 1420s # Step 2: emitting signal 1420s # Sender: service 1420s # Destination: (broadcast) 1420s # Path: /org/gtk/GDBus/ExampleInterface 1420s # Interface: org.gtk.GDBus.ExampleInterface 1420s # Member: Foo 1420s # Argument 0: (not a string) 1420s # Waiting for signal to reach message bus 1420s # Signal received from service :1.1 1420s # Signal received from service :1.1 via proxy 1420s # Path: /org/gtk/GDBus/ExampleInterface 1420s # Interface: org.gtk.GDBus.ExampleInterface 1420s # Member: Foo 1420s # Argument 0: (not a string) 1420s # Sent in step: 2 1420s # Received Finished signal from subscriber :1.0 1420s # Received Finished signal from service :1.1 1420s # Received Finished signal from service 2 :1.2 1420s # Received Finished signal from attacker :1.3 1420s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1420s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1420s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1420s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1420s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1420s # End of parallel tests 1420s # End of subscribe tests 1420s # End of gdbus tests 1420s ok - glib/gdbus-subscribe.test 1420s # Running test: glib/sequence.test 1420s TAP version 14 1420s # random seed: R02S70912f906ec36a4f4f5312db56ea3588 1420s 1..16 1420s # Start of sequence tests 1420s ok 1 /sequence/out-of-range-jump 1420s ok 2 /sequence/iter-move 1420s ok 3 /sequence/insert-sorted-non-pointer 1420s ok 4 /sequence/stable-sort 1420s ok 5 /sequence/is_empty 1420s # Start of random tests 1420s ok 6 /sequence/random/seed:825541564 1420s # slow test /sequence/random/seed:825541564 executed in 0.57 secs 1421s ok 7 /sequence/random/seed:801678400 1421s # slow test /sequence/random/seed:801678400 executed in 0.54 secs 1421s ok 8 /sequence/random/seed:1477639090 1421s # slow test /sequence/random/seed:1477639090 executed in 0.56 secs 1422s ok 9 /sequence/random/seed:3369132895 1422s # slow test /sequence/random/seed:3369132895 executed in 0.51 secs 1422s ok 10 /sequence/random/seed:1192944867 1422s # slow test /sequence/random/seed:1192944867 executed in 0.54 secs 1423s # Executing: glib/sequence.test 1423s ok 11 /sequence/random/seed:770458294 1423s # slow test /sequence/random/seed:770458294 executed in 0.57 secs 1424s ok 12 /sequence/random/seed:1099575817 1424s # slow test /sequence/random/seed:1099575817 executed in 0.54 secs 1424s ok 13 /sequence/random/seed:590523467 1424s # slow test /sequence/random/seed:590523467 executed in 0.57 secs 1425s ok 14 /sequence/random/seed:3583571454 1425s # slow test /sequence/random/seed:3583571454 executed in 0.56 secs 1425s ok 15 /sequence/random/seed:579241222 1425s # slow test /sequence/random/seed:579241222 executed in 0.56 secs 1426s ok 16 /sequence/random/seed:1811077920 1426s # slow test /sequence/random/seed:1811077920 executed in 0.57 secs 1426s # End of random tests 1426s # End of sequence tests 1426s ok - glib/sequence.test 1426s # Running test: glib/error.test 1426s TAP version 14 1426s # random seed: R02S07eb309277d3540b9dbebac61f1f6223 1426s 1..3 1426s # Start of error tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_8HJG02/error/from-errno/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_8HJG02/error/from-errno/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_8HJG02/error/from-errno/.dirs/system-config1:/tmp/test_error_8HJG02/error/from-errno/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_8HJG02/error/from-errno/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_8HJG02/error/from-errno/.dirs/system-data1:/tmp/test_error_8HJG02/error/from-errno/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_8HJG02/error/from-errno/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_8HJG02/error/from-errno/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_8HJG02/error/from-errno/.dirs/runtime 1426s ok 1 /error/from-errno 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_8HJG02/error/from-file-error/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_8HJG02/error/from-file-error/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_8HJG02/error/from-file-error/.dirs/system-config1:/tmp/test_error_8HJG02/error/from-file-error/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_8HJG02/error/from-file-error/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_8HJG02/error/from-file-error/.dirs/system-data1:/tmp/test_error_8HJG02/error/from-file-error/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_8HJG02/error/from-file-error/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_8HJG02/error/from-file-error/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_8HJG02/error/from-file-error/.dirs/runtime 1426s ok 2 /error/from-file-error 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/system-config1:/tmp/test_error_8HJG02/error/from-win32-error/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/system-data1:/tmp/test_error_8HJG02/error/from-win32-error/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_8HJG02/error/from-win32-error/.dirs/runtime 1426s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1426s # End of error tests 1426s ok - glib/error.test 1426s # Running test: glib/gdbus-exit-on-close.test 1426s TAP version 14 1426s # random seed: R02S481ae9b1be1e5ff60c08f8d0f30d7481 1426s 1..4 1426s # Start of gdbus tests 1426s # Start of exit-on-close tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/default/.dirs/runtime 1426s ok 1 /gdbus/exit-on-close/default 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/true/.dirs/runtime 1426s ok 2 /gdbus/exit-on-close/true 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/false/.dirs/runtime 1426s ok 3 /gdbus/exit-on-close/false 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H57F02/gdbus/exit-on-close/we-close/.dirs/runtime 1426s ok 4 /gdbus/exit-on-close/we-close 1426s # Start of default tests 1426s # End of default tests 1426s # Start of true tests 1426s # End of true tests 1426s # Start of false tests 1426s # End of false tests 1426s # Start of we-close tests 1426s # End of we-close tests 1426s # End of exit-on-close tests 1426s # End of gdbus tests 1426s ok - glib/gdbus-exit-on-close.test 1426s # Running test: glib/module-test-library.test 1426s TAP version 14 1426s # random seed: R02S19fb6699020dea946fc3c721575a70bc 1426s 1..3 1426s # Start of module tests 1426s ok 1 /module/basics 1426s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1426s ok 2 /module/invalid-libtool-archive 1426s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1426s ok 3 /module/local-binding 1426s # End of module tests 1426s ok - glib/module-test-library.test 1426s # Running test: glib/gio-tool.py.test 1426s TAP version 13 1426s ok 1 __main__.TestGioTool.test_help 1426s # tmpdir: /tmp/tmpc4pbadfd 1426s # gio: /usr/bin/gio 1426s # Running: ['/usr/bin/gio', '--help'] 1426s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1426s # Output: Usage: 1426s # gio COMMAND [ARGS…] 1426s # 1426s # Commands: 1426s # help Print help 1426s # version Print version 1426s # cat Concatenate files to standard output 1426s # copy Copy one or more files 1426s # info Show information about locations 1426s # launch Launch an application from a desktop file 1426s # list List the contents of locations 1426s # mime Get or set the handler for a mimetype 1426s # mkdir Create directories 1426s # monitor Monitor files and directories for changes 1426s # mount Mount or unmount the locations 1426s # move Move one or more files 1426s # open Open files with the default application 1426s # rename Rename a file 1426s # remove Delete one or more files 1426s # save Read from standard input and save 1426s # set Set a file attribute 1426s # trash Move files or directories to the trash 1426s # tree Lists the contents of locations in a tree 1426s # 1426s # Use “gio help COMMAND†to get detailed help. 1426s # Running: ['/usr/bin/gio', 'help'] 1426s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1426s # Output: Usage: 1426s # gio COMMAND [ARGS…] 1426s # 1426s # Commands: 1426s # help Print help 1426s # version Print version 1426s # cat Concatenate files to standard output 1426s # copy Copy one or more files 1426s # info Show information about locations 1426s # launch Launch an application from a desktop file 1426s # list List the contents of locations 1426s # mime Get or set the handler for a mimetype 1426s # mkdir Create directories 1426s # monitor Monitor files and directories for changes 1426s # mount Mount or unmount the locations 1426s # move Move one or more files 1426s # open Open files with the default application 1426s # rename Rename a file 1426s # remove Delete one or more files 1426s # save Read from standard input and save 1426s # set Set a file attribute 1426s # trash Move files or directories to the trash 1426s # tree Lists the contents of locations in a tree 1426s # 1426s # Use “gio help COMMAND†to get detailed help. 1426s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1426s # tmpdir: /tmp/tmpb3_q72wy 1426s # gio: /usr/bin/gio 1426s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpb3_q72wy/tmpy4jjfjld'] 1426s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1426s # Output: uri: file:///tmp/tmpb3_q72wy/tmpy4jjfjld 1426s # local path: /tmp/tmpb3_q72wy/tmpy4jjfjld 1426s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1426s # attributes: 1426s # standard::content-type: application/x-zerosize 1426s ok 3 __main__.TestGioTool.test_no_args 1426s # tmpdir: /tmp/tmpghkpm09v 1426s # gio: /usr/bin/gio 1426s # Running: ['/usr/bin/gio'] 1426s # 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': 'pygobject/3.50.0-4', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-YhmRwL4rc8,guid=6887af7db09518fa2f6bb37e678b6e88', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.55EnFI/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.55EnFI/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.55EnFI/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.DHKCiwo3Qv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.2KNfnH/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.55EnFI/wrapper.sh --artifacts=/tmp/autopkgtest.55EnFI/installed-tests-artifacts --chdir=/tmp/autopkgtest.55EnFI/build.6ph/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.55EnFI/installed-tests-stderr --stdout=/tmp/autopkgtest.55EnFI/installed-tests-stdout --tmp=/tmp/autopkgtest.55EnFI/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pygobject/3.50.0-4 --make-executable=/tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests -- /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.55EnFI/build.6ph/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.55EnFI/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1426s 1..3 1426s ok - glib/gio-tool.py.test 1426s # Running test: glib/sleepy-stream.test 1426s TAP version 14 1426s # random seed: R02Sd6c8c505a24d0d7e7c9576478a057982 1426s 1..2 1426s # Start of filter-stream tests 1426s ok 1 /filter-stream/input 1426s ok 2 /filter-stream/async 1426s # End of filter-stream tests 1426s ok - glib/sleepy-stream.test 1426s # Running test: glib/memchunk.test 1426s TAP version 14 1426s # random seed: R02S018d3d2d76a93877d2326f3c139b7848 1426s 1..1 1426s # Start of memchunk tests 1426s ok 1 /memchunk/basic 1426s # End of memchunk tests 1426s ok - glib/memchunk.test 1426s # Running test: glib/gobject-private.test 1426s TAP version 14 1426s # random seed: R02Sba12bfbd794a825c23c260d5d32eee7e 1426s 1..3 1426s # Start of private tests 1426s ok 1 /private/instance 1426s ok 2 /private/derived-instance 1426s ok 3 /private/mixed-derived-instance 1426s # End of private tests 1426s ok - glib/gobject-private.test 1426s # Running test: glib/fileutils.test 1426s TAP version 14 1426s # random seed: R02S8bb20a9018d39e9fcbed15be70e99c1c 1426s 1..27 1426s # Start of fileutils tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/paths/.dirs/runtime 1426s ok 1 /fileutils/paths 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/build-path/.dirs/runtime 1426s ok 2 /fileutils/build-path 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/build-pathv/.dirs/runtime 1426s ok 3 /fileutils/build-pathv 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/build-filename/.dirs/runtime 1426s ok 4 /fileutils/build-filename 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/build-filenamev/.dirs/runtime 1426s ok 5 /fileutils/build-filenamev 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents/.dirs/runtime 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s ok 6 /fileutils/mkdir-with-parents 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s ok 7 /fileutils/mkdir-with-parents-permission 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/format-size-for-display/.dirs/runtime 1426s ok 8 /fileutils/format-size-for-display 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/errors/.dirs/runtime 1426s ok 9 /fileutils/errors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/basename/.dirs/runtime 1426s ok 10 /fileutils/basename 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/get-basename/.dirs/runtime 1426s ok 11 /fileutils/get-basename 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/dirname/.dirs/runtime 1426s ok 12 /fileutils/dirname 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/dir-make-tmp/.dirs/runtime 1426s ok 13 /fileutils/dir-make-tmp 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/file-open-tmp/.dirs/runtime 1426s ok 14 /fileutils/file-open-tmp 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/file-test/.dirs/runtime 1426s ok 15 /fileutils/file-test 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/mkstemp/.dirs/runtime 1426s ok 16 /fileutils/mkstemp 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/mkdtemp/.dirs/runtime 1426s ok 17 /fileutils/mkdtemp 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents/.dirs/runtime 1426s ok 18 /fileutils/get-contents 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/get-contents-large-file/.dirs/runtime 1426s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents/.dirs/runtime 1426s ok 20 /fileutils/set-contents 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/.dirs/runtime 1426s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1426s # Flags 0 and test 0 1426s # Flags 0 and test 1 1426s # Flags 0 and test 2 1426s # Flags 0 and test 3 1426s # Flags 0 and test 4 1426s # Flags 0 and test 5 1426s # Flags 1 and test 0 1426s # Flags 1 and test 1 1426s # Flags 1 and test 2 1426s # Flags 1 and test 3 1426s # Flags 1 and test 4 1426s # Flags 1 and test 5 1426s # Flags 2 and test 0 1426s # Flags 2 and test 1 1426s # Flags 2 and test 2 1426s # Flags 2 and test 3 1426s # Flags 2 and test 4 1426s # Flags 2 and test 5 1426s # Flags 3 and test 0 1426s # Flags 3 and test 1 1426s # Flags 3 and test 2 1426s # Flags 3 and test 3 1426s # Flags 3 and test 4 1426s # Flags 3 and test 5 1426s # Flags 4 and test 0 1426s # Flags 4 and test 1 1426s # Flags 4 and test 2 1426s # Flags 4 and test 3 1426s # Flags 4 and test 4 1426s # Flags 4 and test 5 1426s # Flags 5 and test 0 1426s # Flags 5 and test 1 1426s # Flags 5 and test 2 1426s # Flags 5 and test 3 1426s # Flags 5 and test 4 1426s # Flags 5 and test 5 1426s # Flags 6 and test 0 1426s # Flags 6 and test 1 1426s # Flags 6 and test 2 1426s # Flags 6 and test 3 1426s # Flags 6 and test 4 1426s # Flags 6 and test 5 1426s ok 21 /fileutils/set-contents-full 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/read-link/.dirs/runtime 1426s ok 22 /fileutils/read-link 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/stdio-wrappers/.dirs/runtime 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s ok 23 /fileutils/stdio-wrappers 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/fopen-modes/.dirs/runtime 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1426s # Testing fopen() mode 'w' 1426s # Testing fopen() mode 'r' 1426s # Testing fopen() mode 'a' 1426s # Testing fopen() mode 'w+' 1426s # Testing fopen() mode 'r+' 1426s # Testing fopen() mode 'a+' 1426s # Testing fopen() mode 'wb' 1426s # Testing fopen() mode 'rb' 1426s # Testing fopen() mode 'ab' 1426s # Testing fopen() mode 'w+b' 1426s # Testing fopen() mode 'r+b' 1426s # Testing fopen() mode 'a+b' 1426s # Testing fopen() mode 'wb+' 1426s # Testing fopen() mode 'rb+' 1426s # Testing fopen() mode 'ab+' 1426s ok 24 /fileutils/fopen-modes 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/clear-fd/.dirs/runtime 1426s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1426s # Will be closed by autocleanup: 3, -42 1426s # Testing error handling 1426s ok 25 /fileutils/clear-fd 1426s # Start of set-contents-full tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1426s ok 26 /fileutils/set-contents-full/read-only-file 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_F5N6Z2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1426s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1426s # Flags 0 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Flags 1 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Flags 2 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Flags 3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Flags 4 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Flags 5 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Flags 6 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s ok 27 /fileutils/set-contents-full/read-only-directory 1426s # End of set-contents-full tests 1426s # Start of clear-fd tests 1426s # Start of subprocess tests 1426s # End of subprocess tests 1426s # End of clear-fd tests 1426s # End of fileutils tests 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-93YC02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-QOWC02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-UEQC02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-TN2C02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-TC0C02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-3J6C02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2/glib-file-set-contents-full-rodir-YXBD02: Directory not empty 1426s Unable to clean up temporary directory /tmp/test_fileutils_F5N6Z2: Directory not empty 1426s ok - glib/fileutils.test 1426s # Running test: glib/utf8-performance.test 1426s TAP version 14 1426s # random seed: R02S8c615ad69d6104c931a040941862c2ed 1426s 1..36 1426s # Start of utf8 tests 1426s # Start of perf tests 1426s # Start of get_char tests 1426s # max perf: inf MB/s 1426s ok 1 /utf8/perf/get_char/ascii 1426s # max perf: inf MB/s 1426s ok 2 /utf8/perf/get_char/latin1 1426s # max perf: inf MB/s 1426s ok 3 /utf8/perf/get_char/cyrillic 1426s # max perf: 156.0 MB/s 1426s ok 4 /utf8/perf/get_char/han 1426s # End of get_char tests 1426s # Start of get_char-backwards tests 1426s # max perf: 43.0 MB/s 1426s ok 5 /utf8/perf/get_char-backwards/ascii 1426s # max perf: 67.0 MB/s 1426s ok 6 /utf8/perf/get_char-backwards/latin1 1426s # max perf: 160.0 MB/s 1426s ok 7 /utf8/perf/get_char-backwards/cyrillic 1426s # max perf: inf MB/s 1426s ok 8 /utf8/perf/get_char-backwards/han 1426s # End of get_char-backwards tests 1426s # Start of get_char_validated tests 1426s # max perf: inf MB/s 1426s ok 9 /utf8/perf/get_char_validated/ascii 1426s # max perf: 67.0 MB/s 1426s ok 10 /utf8/perf/get_char_validated/latin1 1426s # max perf: inf MB/s 1426s ok 11 /utf8/perf/get_char_validated/cyrillic 1426s # max perf: inf MB/s 1426s ok 12 /utf8/perf/get_char_validated/han 1426s # End of get_char_validated tests 1426s # Start of utf8_to_ucs4 tests 1426s # max perf: 43.0 MB/s 1426s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1426s # max perf: 67.0 MB/s 1426s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1426s # max perf: 160.0 MB/s 1426s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1426s # max perf: inf MB/s 1426s ok 16 /utf8/perf/utf8_to_ucs4/han 1426s # End of utf8_to_ucs4 tests 1426s # Start of utf8_to_ucs4-sized tests 1426s # max perf: inf MB/s 1426s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1426s # max perf: inf MB/s 1426s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1426s # max perf: inf MB/s 1426s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1426s # max perf: inf MB/s 1426s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1426s # End of utf8_to_ucs4-sized tests 1426s # Start of utf8_to_ucs4_fast tests 1426s # max perf: inf MB/s 1426s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1426s # max perf: 67.0 MB/s 1426s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1426s # max perf: 160.0 MB/s 1426s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1426s # max perf: inf MB/s 1426s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1426s # End of utf8_to_ucs4_fast tests 1426s # Start of utf8_to_ucs4_fast-sized tests 1426s # max perf: inf MB/s 1426s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1426s # max perf: inf MB/s 1426s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1426s # max perf: 160.0 MB/s 1426s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1426s # max perf: 156.0 MB/s 1426s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1426s # End of utf8_to_ucs4_fast-sized tests 1426s # Start of utf8_validate tests 1426s # max perf: inf MB/s 1426s ok 29 /utf8/perf/utf8_validate/ascii 1426s # max perf: 5.2 MB/s 1426s ok 30 /utf8/perf/utf8_validate/latin1 1426s # max perf: inf MB/s 1426s ok 31 /utf8/perf/utf8_validate/cyrillic 1426s # max perf: 156.0 MB/s 1426s ok 32 /utf8/perf/utf8_validate/han 1426s # End of utf8_validate tests 1426s # Start of utf8_validate-sized tests 1426s # max perf: 43.0 MB/s 1426s ok 33 /utf8/perf/utf8_validate-sized/ascii 1426s # max perf: inf MB/s 1426s ok 34 /utf8/perf/utf8_validate-sized/latin1 1426s # max perf: 160.0 MB/s 1426s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1426s # max perf: inf MB/s 1426s ok 36 /utf8/perf/utf8_validate-sized/han 1426s # End of utf8_validate-sized tests 1426s # End of perf tests 1426s # End of utf8 tests 1426s ok - glib/utf8-performance.test 1426s # Running test: glib/portal-support-flatpak-full.test 1426s TAP version 14 1426s # random seed: R02S1490e6e320f3640312d2d790fad4ada5 1426s 1..1 1426s # Start of portal-support tests 1426s # Start of flatpak tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/runtime 1426s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_930D02/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1426s ok 1 /portal-support/flatpak/full 1426s # End of flatpak tests 1426s # End of portal-support tests 1426s ok - glib/portal-support-flatpak-full.test 1426s # Running test: glib/macros-c-89.test 1426s TAP version 14 1426s # random seed: R02S638f18ac2d947e30850b03b591fab7bc 1426s 1..4 1426s # Start of C tests 1426s ok 1 /C/standard-89 1426s # End of C tests 1426s # Start of alignof tests 1426s ok 2 /alignof/fallback 1426s # End of alignof tests 1426s # Start of assert tests 1426s ok 3 /assert/static 1426s # End of assert tests 1426s # Start of struct tests 1426s ok 4 /struct/sizeof_member 1426s # End of struct tests 1426s ok - glib/macros-c-89.test 1426s # Running test: glib/utils-c-89.test 1426s TAP version 14 1426s # random seed: R02Sd60f67b99f324a900ec27da5ed0a99ab 1426s 1..40 1426s # Start of utils tests 1426s ok 1 /utils/language-names 1426s ok 2 /utils/locale-variants 1426s ok 3 /utils/version 1426s ok 4 /utils/appname 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1426s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1426s ok 5 /utils/prgname-thread-safety 1426s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1426s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1426s ok 6 /utils/tmpdir 1426s ok 7 /utils/basic_bits 1426s ok 8 /utils/bits 1426s ok 9 /utils/swap 1426s ok 10 /utils/find-program 1426s ok 11 /utils/find-program-for-path 1426s ok 12 /utils/debug 1426s ok 13 /utils/codeset 1426s ok 14 /utils/codeset2 1426s ok 15 /utils/console-charset 1426s ok 16 /utils/gettext 1426s ok 17 /utils/username 1426s ok 18 /utils/realname 1426s ok 19 /utils/hostname 1426s ok 20 /utils/xdgdirs 1426s ok 21 /utils/specialdir 1426s # NAME: Ubuntu 1426s ok 22 /utils/os-info 1426s ok 23 /utils/clear-pointer 1426s ok 24 /utils/clear-pointer-cast 1426s ok 25 /utils/take-pointer 1426s ok 26 /utils/clear-source 1426s ok 27 /utils/misc-mem 1426s # /utils/aligned-mem summary: Aligned memory allocator 1426s # Alignment must not be zero 1426s # Alignment must be a power of two 1426s # Alignment must be a multiple of sizeof(void*) 1426s ok 28 /utils/aligned-mem 1426s # /utils/free-sized summary: Check that g_free_sized() works 1426s ok 29 /utils/free-sized 1426s ok 30 /utils/nullify 1426s ok 31 /utils/atexit 1426s ok 32 /utils/check-setuid 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1426s ok 33 /utils/int-limits 1426s ok 34 /utils/clear-list 1426s ok 35 /utils/clear-slist 1426s # Start of specialdir tests 1426s ok 36 /utils/specialdir/desktop 1426s # End of specialdir tests 1426s # Start of clear-pointer tests 1426s ok 37 /utils/clear-pointer/side-effects 1426s # End of clear-pointer tests 1426s # Start of aligned-mem tests 1426s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1426s ok 38 /utils/aligned-mem/alignment 1426s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1426s ok 39 /utils/aligned-mem/zeroed 1426s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1426s ok 40 /utils/aligned-mem/free-sized 1426s # Start of subprocess tests 1426s # End of subprocess tests 1426s # End of aligned-mem tests 1426s # End of utils tests 1426s ok - glib/utils-c-89.test 1426s # Running test: glib/spawn-singlethread.test 1426s TAP version 14 1426s # random seed: R02S66e0b9719c320adcebe3e0d7073ded0d 1426s 1..9 1426s # Start of gthread tests 1426s ok 1 /gthread/spawn-single-sync 1426s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1426s ok 2 /gthread/spawn-stderr-socket 1426s ok 3 /gthread/spawn-single-async 1426s # thread 1 1426s # thread 1 1426s ok 4 /gthread/spawn-single-async-with-fds 1426s ok 5 /gthread/spawn-async-with-invalid-fds 1426s ok 6 /gthread/spawn-script 1426s ok 7 /gthread/spawn-posix-spawn 1426s # Start of spawn tests 1426s ok 8 /gthread/spawn/nonexistent 1426s # FD map: 1426s # • 5 → 15 1426s # • 6 → 16 1426s # • 7 → 17 1426s # • 8 → 18 1426s # • 9 → 19 1426s # • 10 → 20 1426s # • 11 → 21 1426s # • 12 → 22 1426s # • 13 → 23 1426s # • 3 → 13 1426s ok 9 /gthread/spawn/fd-assignment-clash 1426s # End of spawn tests 1426s # End of gthread tests 1426s ok - glib/spawn-singlethread.test 1426s # Running test: glib/list.test 1426s TAP version 14 1426s # random seed: R02S553db3153f9b19a8dc2968002ccaea72 1426s 1..20 1426s # Start of list tests 1426s ok 1 /list/sort 1426s ok 2 /list/sort-with-data 1426s ok 3 /list/insert-before-link 1426s ok 4 /list/insert-sorted 1426s ok 5 /list/insert-sorted-with-data 1426s ok 6 /list/reverse 1426s ok 7 /list/nth 1426s ok 8 /list/concat 1426s ok 9 /list/remove 1426s ok 10 /list/remove-all 1426s ok 11 /list/first-last 1426s ok 12 /list/insert 1426s ok 13 /list/free-full 1426s ok 14 /list/copy 1426s ok 15 /list/copy-deep 1426s ok 16 /list/delete-link 1426s ok 17 /list/prepend 1426s ok 18 /list/position 1426s ok 19 /list/double-free 1426s # Start of sort tests 1426s ok 20 /list/sort/stable 1426s # End of sort tests 1426s # End of list tests 1426s ok - glib/list.test 1426s # Running test: glib/utils.test 1426s TAP version 14 1426s # random seed: R02S5bba5b0d891d5a9fbc2ccd1f0a73cf40 1426s 1..40 1426s # Start of utils tests 1426s ok 1 /utils/language-names 1426s ok 2 /utils/locale-variants 1426s ok 3 /utils/version 1426s ok 4 /utils/appname 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1426s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1426s ok 5 /utils/prgname-thread-safety 1426s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1426s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1426s ok 6 /utils/tmpdir 1427s ok 7 /utils/basic_bits 1427s ok 8 /utils/bits 1427s ok 9 /utils/swap 1427s ok 10 /utils/find-program 1427s ok 11 /utils/find-program-for-path 1427s ok 12 /utils/debug 1427s ok 13 /utils/codeset 1427s ok 14 /utils/codeset2 1427s ok 15 /utils/console-charset 1427s ok 16 /utils/gettext 1427s ok 17 /utils/username 1427s ok 18 /utils/realname 1427s ok 19 /utils/hostname 1427s ok 20 /utils/xdgdirs 1427s ok 21 /utils/specialdir 1427s # NAME: Ubuntu 1427s ok 22 /utils/os-info 1427s ok 23 /utils/clear-pointer 1427s ok 24 /utils/clear-pointer-cast 1427s ok 25 /utils/take-pointer 1427s ok 26 /utils/clear-source 1427s ok 27 /utils/misc-mem 1427s # /utils/aligned-mem summary: Aligned memory allocator 1427s # Alignment must not be zero 1427s # Alignment must be a power of two 1427s # Alignment must be a multiple of sizeof(void*) 1427s ok 28 /utils/aligned-mem 1427s # /utils/free-sized summary: Check that g_free_sized() works 1427s ok 29 /utils/free-sized 1427s ok 30 /utils/nullify 1427s ok 31 /utils/atexit 1427s ok 32 /utils/check-setuid 1427s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1427s ok 33 /utils/int-limits 1427s ok 34 /utils/clear-list 1427s ok 35 /utils/clear-slist 1427s # Start of specialdir tests 1427s ok 36 /utils/specialdir/desktop 1427s # End of specialdir tests 1427s # Start of clear-pointer tests 1427s ok 37 /utils/clear-pointer/side-effects 1427s # End of clear-pointer tests 1427s # Start of aligned-mem tests 1427s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1427s ok 38 /utils/aligned-mem/alignment 1427s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1427s ok 39 /utils/aligned-mem/zeroed 1427s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1427s ok 40 /utils/aligned-mem/free-sized 1427s # Start of subprocess tests 1427s # End of subprocess tests 1427s # End of aligned-mem tests 1427s # End of utils tests 1427s ok - glib/utils.test 1427s # Running test: glib/deprecated-properties.test 1427s TAP version 14 1427s # random seed: R02S9fea7e5b7979a68323db9f38c75b9fa7 1427s 1..3 1427s # Start of deprecated-properties tests 1427s ok 1 /deprecated-properties/construct 1427s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1427s ok 2 /deprecated-properties/default-construct 1427s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1427s ok 3 /deprecated-properties/set 1427s # End of deprecated-properties tests 1427s ok - glib/deprecated-properties.test 1427s # Running test: glib/contenttype.test 1427s TAP version 14 1427s # random seed: R02S36ea30adbb03f54f183e75f0be1d4a93 1427s 1..13 1427s # Start of contenttype tests 1427s ok 1 /contenttype/guess 1427s ok 2 /contenttype/guess_svg_from_data 1427s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1427s ok 4 /contenttype/unknown 1427s ok 5 /contenttype/subtype 1427s ok 6 /contenttype/list 1427s ok 7 /contenttype/executable 1427s ok 8 /contenttype/description 1427s ok 9 /contenttype/icon 1427s ok 10 /contenttype/symbolic-icon 1427s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1427s ok 11 /contenttype/tree 1427s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1427s ok 12 /contenttype/tree_invalid_encoding 1427s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1427s ok 13 /contenttype/test_type_is_a_special_case 1427s # End of contenttype tests 1427s ok - glib/contenttype.test 1427s # Running test: glib/cache.test 1427s TAP version 14 1427s # random seed: R02Sac187899b4f1b0426637c2a93f7ce6f7 1427s 1..1 1427s # Start of cache tests 1427s ok 1 /cache/basic 1427s # End of cache tests 1427s ok - glib/cache.test 1427s # Running test: glib/objects-refcount2.test 1427s TAP version 14 1427s # random seed: R02S4330e15eab28dac82de98e4da4e78edb 1427s 1..1 1427s # Start of gobject tests 1427s # Start of refcount tests 1427s # init 0xb6e5ab250750 1427s # 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # Executing: glib/objects-refcount2.test 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # Executing: glib/objects-refcount2.test 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # dispose 0xb6e5ab250750! 1433s # 1433s ok 1 /gobject/refcount/object-advanced 1433s # slow test /gobject/refcount/object-advanced executed in 6.33 secs 1433s # End of refcount tests 1433s # End of gobject tests 1433s ok - glib/objects-refcount2.test 1433s # Running test: glib/inet-address.test 1433s TAP version 14 1433s # random seed: R02S65cfd5563d7b0dd9823e2829b5cea4cf 1433s 1..11 1433s # Start of inet-address tests 1433s ok 1 /inet-address/parse 1433s ok 2 /inet-address/any 1433s ok 3 /inet-address/loopback 1433s ok 4 /inet-address/bytes 1433s ok 5 /inet-address/property 1433s # End of inet-address tests 1433s # Start of socket-address tests 1433s ok 6 /socket-address/basic 1433s ok 7 /socket-address/to-string 1433s # End of socket-address tests 1433s # Start of address-mask tests 1433s ok 8 /address-mask/parse 1433s ok 9 /address-mask/property 1433s ok 10 /address-mask/equal 1433s ok 11 /address-mask/match 1433s # End of address-mask tests 1433s ok - glib/inet-address.test 1433s # Running test: glib/basic-signals.test 1433s TAP version 14 1433s # random seed: R02S6c5fbe00c715cb225477fa2877c75280 1433s 1..1 1433s # Start of gobject tests 1433s ok 1 /gobject/basic-signals 1433s # End of gobject tests 1433s ok - glib/basic-signals.test 1433s # Running test: glib/markup-parse.test 1433s TAP version 14 1433s # random seed: R02Sd1e5adce51aa0133e3cbf6ca785dd5f2 1433s 1..71 1433s # Start of markup tests 1433s # Start of parse tests 1433s ok 1 /markup/parse/fail-46.gmarkup 1433s ok 2 /markup/parse/fail-5.gmarkup 1433s ok 3 /markup/parse/fail-15.gmarkup 1433s ok 4 /markup/parse/fail-39.gmarkup 1433s ok 5 /markup/parse/fail-38.gmarkup 1433s ok 6 /markup/parse/fail-48.gmarkup 1433s ok 7 /markup/parse/valid-6.gmarkup 1433s ok 8 /markup/parse/fail-25.gmarkup 1433s ok 9 /markup/parse/fail-40.gmarkup 1433s ok 10 /markup/parse/fail-2.gmarkup 1433s ok 11 /markup/parse/valid-11.gmarkup 1433s ok 12 /markup/parse/fail-10.gmarkup 1433s ok 13 /markup/parse/fail-50.gmarkup 1433s ok 14 /markup/parse/fail-3.gmarkup 1433s ok 15 /markup/parse/fail-33.gmarkup 1433s ok 16 /markup/parse/fail-32.gmarkup 1433s ok 17 /markup/parse/fail-22.gmarkup 1433s ok 18 /markup/parse/valid-10.gmarkup 1433s ok 19 /markup/parse/fail-14.gmarkup 1433s ok 20 /markup/parse/fail-27.gmarkup 1433s ok 21 /markup/parse/fail-36.gmarkup 1433s ok 22 /markup/parse/fail-35.gmarkup 1433s ok 23 /markup/parse/fail-34.gmarkup 1433s ok 24 /markup/parse/fail-1.gmarkup 1433s ok 25 /markup/parse/valid-17.gmarkup 1433s ok 26 /markup/parse/fail-12.gmarkup 1433s ok 27 /markup/parse/fail-52.gmarkup 1433s ok 28 /markup/parse/fail-31.gmarkup 1433s ok 29 /markup/parse/valid-15.gmarkup 1433s ok 30 /markup/parse/fail-49.gmarkup 1433s ok 31 /markup/parse/fail-54.gmarkup 1433s ok 32 /markup/parse/fail-23.gmarkup 1433s ok 33 /markup/parse/fail-53.gmarkup 1433s ok 34 /markup/parse/fail-51.gmarkup 1433s ok 35 /markup/parse/fail-47.gmarkup 1433s ok 36 /markup/parse/fail-20.gmarkup 1433s ok 37 /markup/parse/fail-21.gmarkup 1433s ok 38 /markup/parse/valid-2.gmarkup 1433s ok 39 /markup/parse/fail-30.gmarkup 1433s ok 40 /markup/parse/fail-41.gmarkup 1433s ok 41 /markup/parse/valid-4.gmarkup 1433s ok 42 /markup/parse/fail-7.gmarkup 1433s ok 43 /markup/parse/fail-42.gmarkup 1433s ok 44 /markup/parse/fail-44.gmarkup 1433s ok 45 /markup/parse/valid-3.gmarkup 1433s ok 46 /markup/parse/valid-16.gmarkup 1433s ok 47 /markup/parse/fail-4.gmarkup 1433s ok 48 /markup/parse/valid-8.gmarkup 1433s ok 49 /markup/parse/fail-16.gmarkup 1433s ok 50 /markup/parse/fail-9.gmarkup 1433s ok 51 /markup/parse/fail-45.gmarkup 1433s ok 52 /markup/parse/valid-12.gmarkup 1433s ok 53 /markup/parse/fail-11.gmarkup 1433s ok 54 /markup/parse/fail-37.gmarkup 1433s ok 55 /markup/parse/fail-43.gmarkup 1433s ok 56 /markup/parse/fail-24.gmarkup 1433s ok 57 /markup/parse/fail-18.gmarkup 1433s ok 58 /markup/parse/valid-5.gmarkup 1433s ok 59 /markup/parse/fail-6.gmarkup 1433s ok 60 /markup/parse/fail-26.gmarkup 1433s ok 61 /markup/parse/valid-9.gmarkup 1433s ok 62 /markup/parse/fail-8.gmarkup 1433s ok 63 /markup/parse/fail-28.gmarkup 1433s ok 64 /markup/parse/valid-14.gmarkup 1433s ok 65 /markup/parse/fail-17.gmarkup 1433s ok 66 /markup/parse/fail-19.gmarkup 1433s ok 67 /markup/parse/valid-1.gmarkup 1433s ok 68 /markup/parse/valid-13.gmarkup 1433s ok 69 /markup/parse/fail-13.gmarkup 1433s ok 70 /markup/parse/valid-7.gmarkup 1433s ok 71 /markup/parse/fail-29.gmarkup 1433s # End of parse tests 1433s # End of markup tests 1433s ok - glib/markup-parse.test 1433s # Running test: glib/guuid.test 1433s TAP version 14 1433s # random seed: R02S99c8078cfecd78fe23e9cc58b609037d 1433s 1..2 1433s # Start of uuid tests 1433s ok 1 /uuid/string 1433s ok 2 /uuid/random 1433s # End of uuid tests 1433s ok - glib/guuid.test 1433s # Running test: glib/accumulator.test 1433s TAP version 14 1433s # random seed: R02Sa665757b34f23191aacea6e7db54f1e6 1433s 1..1 1433s # Start of gobject tests 1433s ok 1 /gobject/accumulator 1433s # End of gobject tests 1433s ok - glib/accumulator.test 1433s # Running test: glib/async-close-output-stream.test 1433s TAP version 14 1433s # random seed: R02Sb135bf2c8a94cd1ccbb1aa54274e258f 1433s 1..3 1433s # Start of close-async tests 1433s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1433s ok 1 /close-async/without-flush 1433s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1433s ok 2 /close-async/with-flush 1433s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1433s ok 3 /close-async/with-async-flush 1433s # End of close-async tests 1433s ok - glib/async-close-output-stream.test 1433s # Running test: glib/uri.test 1433s TAP version 14 1433s # random seed: R02S2cc1bf7c332e26f7eda804a7031cc112 1433s 1..24 1433s # Start of uri tests 1433s ok 1 /uri/file-to-uri 1433s ok 2 /uri/file-from-uri 1433s ok 3 /uri/file-roundtrip 1433s ok 4 /uri/list 1433s # Test 0: %2Babc %4F 1433s # Test 1: %2Babc %4F 1433s # Test 2: %00abc %4F 1433s # Test 3: /cursors/none.png 1433s # Test 4: /cursors%2fbad-subdir/none.png 1433s # Test 5: %0 1433s # Test 6: %ra 1433s # Test 7: %2r 1433s # Test 8: Timm B?der 1433s # Test 9: (null) 1433s ok 5 /uri/unescape-string 1433s ok 6 /uri/unescape-segment 1433s # Test 0: abcdefgABCDEFG._~ 1433s # Test 1: :+ \\?# 1433s # Test 2: a+b:c 1433s # Test 3: a+b:c\303\234 1433s # Test 4: \374;\322 1433s # Test 5: \303\261\303( 1433s ok 7 /uri/escape-string 1433s ok 8 /uri/escape-bytes 1433s ok 9 /uri/scheme 1433s ok 10 /uri/build 1433s ok 11 /uri/split 1433s ok 12 /uri/is_valid 1433s ok 13 /uri/to-string 1433s ok 14 /uri/join 1433s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1433s # Combination 0 1433s # Combination 1 1433s # Combination 2 1433s # Combination 3 1433s # Combination 4 1433s # Combination 5 1433s # Combination 6 1433s # Combination 7 1433s # Combination 8 1433s # Combination 9 1433s # Combination 10 1433s # Combination 11 1433s # Combination 12 1433s # Combination 13 1433s # Combination 14 1433s # Combination 15 1433s # Combination 16 1433s # Combination 17 1433s # Combination 18 1433s # Combination 19 1433s # Combination 20 1433s # Combination 21 1433s # Combination 22 1433s # Combination 23 1433s # Combination 24 1433s # Combination 25 1433s # Combination 26 1433s # Combination 27 1433s # Combination 28 1433s # Combination 29 1433s # Combination 30 1433s # Combination 31 1433s # Combination 32 1433s # Combination 33 1433s # Combination 34 1433s # Combination 35 1433s # Combination 36 1433s # Combination 37 1433s # Combination 38 1433s # Combination 39 1433s # Combination 40 1433s # Combination 41 1433s # Combination 42 1433s # Combination 43 1433s # Combination 44 1433s # Combination 45 1433s # Combination 46 1433s # Combination 47 1433s # Combination 48 1433s # Combination 49 1433s # Combination 50 1433s # Combination 51 1433s # Combination 52 1433s # Combination 53 1433s # Combination 54 1433s # Combination 55 1433s # Combination 56 1433s # Combination 57 1433s # Combination 58 1433s # Combination 59 1433s # Combination 60 1433s # Combination 61 1433s # Combination 62 1433s # Combination 63 1433s # Combination 64 1433s # Combination 65 1433s # Combination 66 1433s # Combination 67 1433s # Combination 68 1433s # Combination 69 1433s # Combination 70 1433s # Combination 71 1433s # Combination 72 1433s # Combination 73 1433s # Combination 74 1433s # Combination 75 1433s # Combination 76 1433s # Combination 77 1433s # Combination 78 1433s # Combination 79 1433s # Combination 80 1433s # Combination 81 1433s # Combination 82 1433s # Combination 83 1433s # Combination 84 1433s # Combination 85 1433s # Combination 86 1433s # Combination 87 1433s # Combination 88 1433s # Combination 89 1433s # Combination 90 1433s # Combination 91 1433s # Combination 92 1433s # Combination 93 1433s # Combination 94 1433s # Combination 95 1433s # Combination 96 1433s # Combination 97 1433s # Combination 98 1433s # Combination 99 1433s # Combination 100 1433s # Combination 101 1433s # Combination 102 1433s # Combination 103 1433s # Combination 104 1433s # Combination 105 1433s # Combination 106 1433s # Combination 107 1433s # Combination 108 1433s # Combination 109 1433s # Combination 110 1433s # Combination 111 1433s # Combination 112 1433s # Combination 113 1433s # Combination 114 1433s # Combination 115 1433s # Combination 116 1433s # Combination 117 1433s # Combination 118 1433s # Combination 119 1433s # Combination 120 1433s # Combination 121 1433s # Combination 122 1433s # Combination 123 1433s # Combination 124 1433s # Combination 125 1433s # Combination 126 1433s # Combination 127 1433s # Combination 128 1433s # Combination 129 1433s # Combination 130 1433s # Combination 131 1433s # Combination 132 1433s # Combination 133 1433s # Combination 134 1433s # Combination 135 1433s # Combination 136 1433s # Combination 137 1433s # Combination 138 1433s # Combination 139 1433s # Combination 140 1433s # Combination 141 1433s # Combination 142 1433s # Combination 143 1433s # Combination 144 1433s # Combination 145 1433s # Combination 146 1433s # Combination 147 1433s # Combination 148 1433s # Combination 149 1433s # Combination 150 1433s # Combination 151 1433s # Combination 152 1433s # Combination 153 1433s # Combination 154 1433s # Combination 155 1433s # Combination 156 1433s # Combination 157 1433s # Combination 158 1433s # Combination 159 1433s # Combination 160 1433s # Combination 161 1433s # Combination 162 1433s # Combination 163 1433s # Combination 164 1433s # Combination 165 1433s # Combination 166 1433s # Combination 167 1433s # Combination 168 1433s # Combination 169 1433s # Combination 170 1433s # Combination 171 1433s # Combination 172 1433s # Combination 173 1433s # Combination 174 1433s # Combination 175 1433s # Combination 176 1433s # Combination 177 1433s # Combination 178 1433s # Combination 179 1433s # Combination 180 1433s # Combination 181 1433s # Combination 182 1433s # Combination 183 1433s # Combination 184 1433s # Combination 185 1433s # Combination 186 1433s # Combination 187 1433s # Combination 188 1433s # Combination 189 1433s # Combination 190 1433s # Combination 191 1433s # Combination 192 1433s # Combination 193 1433s # Combination 194 1433s # Combination 195 1433s # Combination 196 1433s # Combination 197 1433s # Combination 198 1433s # Combination 199 1433s # Combination 200 1433s # Combination 201 1433s # Combination 202 1433s # Combination 203 1433s # Combination 204 1433s # Combination 205 1433s # Combination 206 1433s # Combination 207 1433s # Combination 208 1433s # Combination 209 1433s # Combination 210 1433s # Combination 211 1433s # Combination 212 1433s # Combination 213 1433s # Combination 214 1433s # Combination 215 1433s # Combination 216 1433s # Combination 217 1433s # Combination 218 1433s # Combination 219 1433s # Combination 220 1433s # Combination 221 1433s # Combination 222 1433s # Combination 223 1433s # Combination 224 1433s # Combination 225 1433s # Combination 226 1433s # Combination 227 1433s # Combination 228 1433s # Combination 229 1433s # Combination 230 1433s # Combination 231 1433s # Combination 232 1433s # Combination 233 1433s # Combination 234 1433s # Combination 235 1433s # Combination 236 1433s # Combination 237 1433s # Combination 238 1433s # Combination 239 1433s # Combination 240 1433s # Combination 241 1433s # Combination 242 1433s # Combination 243 1433s # Combination 244 1433s # Combination 245 1433s # Combination 246 1433s # Combination 247 1433s # Combination 248 1433s # Combination 249 1433s # Combination 250 1433s # Combination 251 1433s # Combination 252 1433s # Combination 253 1433s # Combination 254 1433s # Combination 255 1433s ok 15 /uri/join-split-round-trip 1433s ok 16 /uri/normalize 1433s # Start of unescape-bytes tests 1433s # Test 0: %00%00 1433s # Test 1: /cursors/none.png 1433s # Test 2: /cursors%2fbad-subdir/none.png 1433s # Test 3: %% 1433s # Test 4: % 1433s ok 17 /uri/unescape-bytes/nul-terminated 1433s # Test 0: %00%00 1433s # Test 1: /cursors/none.png 1433s # Test 2: /cursors%2fbad-subdir/none.png 1433s # Test 3: %% 1433s # Test 4: % 1433s ok 18 /uri/unescape-bytes/length 1433s # End of unescape-bytes tests 1433s # Start of parsing tests 1433s # Test 0: foo: 1433s # Test 1: file:/dev/null 1433s # Test 2: file:///dev/null 1433s # Test 3: ftp://user@host/path 1433s # Test 4: ftp://user@host:9999/path 1433s # Test 5: ftp://user:password@host/path 1433s # Test 6: ftp://user:password@host:9999/path 1433s # Test 7: ftp://user:password@host 1433s # Test 8: http://us%65r@host 1433s # Test 9: http://us%40r@host 1433s # Test 10: http://us%3ar@host 1433s # Test 11: http://us%2fr@host 1433s # Test 12: http://us%3fr@host 1433s # Test 13: http://host?query 1433s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1433s # 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 1433s # Test 16: http://space/%20 1433s # Test 17: http://delims/%3C%3E%23%25%22 1433s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1433s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1433s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1433s # Test 21: http://[3ffe:2a00:100:7031::1] 1433s # Test 22: http://[1080::8:800:200C:417A]/foo 1433s # Test 23: http://[::192.9.5.5]/ipng 1433s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1433s # Test 25: http://[2010:836B:4179::836B:4179] 1433s # Test 26: http://host/path with spaces 1433s # Test 27: http://host/path 1433s # Test 28: http://host/path 1433s # Test 29: http://host 1433s # Test 30: http://host:999 1433s # Test 31: http://host/pa 1433s # th 1433s # Test 32: http: 1433s # //host/path 1433s # Test 33: http:// host/path 1433s # Test 34: http://host/path? 1433s # Test 35: http://host/path# 1433s # Test 36: http://host/path% 1433s # Test 37: http://h%ost/path 1433s # Test 38: http://host/path%% 1433s # Test 39: http://host/path%%% 1433s # Test 40: http://host/path%/x/ 1433s # Test 41: http://host/path%0x/ 1433s # Test 42: http://host/path%ax 1433s # Test 43: http://host/p?th/ 1433s # Test 44: HTTP://////////////// 1433s # Test 45: http://@host 1433s # Test 46: http://:@host 1433s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1433s # Test 48: http://example.com/.. 1433s # Test 49: foo0://host/path 1433s # Test 50: f0.o://host/path 1433s # Test 51: http++://host/path 1433s # Test 52: http-ish://host/path 1433s # Test 53: http://[fe80::dead:beef%]/ 1433s # Test 54: http://[fe80::dead:beef%em1]/ 1433s # Test 55: http://[fe80::dead:beef%em1]/ 1433s # Test 56: http://[fe80::dead:beef%25em1]/ 1433s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1433s # Test 58: http://[fe80::dead:beef%25em%31]/ 1433s # Test 59: http://[fe80::dead:beef%10]/ 1433s # Test 60: http://[fe80::dead:beef%10]/ 1433s # Test 61: http://[fe80::dead:beef%25]/ 1433s # Test 62: http://[fe80::dead:beef%25]/ 1433s # Test 63: http://[192.168.0.1%25em1]/ 1433s # Test 64: http://[fe80::dead:beef%2em1]/ 1433s # Test 65: http://[fe80::dead:beef%2em1]/ 1433s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1433s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1433s # Test 68: http://xn--mixed-?p/ 1433s ok 19 /uri/parsing/absolute 1433s ok 20 /uri/parsing/relative 1433s # End of parsing tests 1433s # Start of iter-params tests 1433s # URI 0: p1=foo&p2=bar;p3=baz 1433s # URI 1: p1=foo&p2=bar 1433s # URI 2: p1=foo&&P1=bar 1433s # URI 3: %00=foo 1433s # URI 4: p1=%00 1433s # URI 5: p1=foo&p1=bar 1433s # URI 6: p1=foo&P1=bar 1433s # URI 7: =% 1433s # URI 8: = 1433s # URI 9: foo 1433s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1433s ok 21 /uri/iter-params/nul-terminated 1433s # URI 0: p1=foo&p2=bar;p3=baz 1433s # URI 1: p1=foo&p2=bar 1433s # URI 2: p1=foo&&P1=bar 1433s # URI 3: %00=foo 1433s # URI 4: p1=%00 1433s # URI 5: p1=foo&p1=bar 1433s # URI 6: p1=foo&P1=bar 1433s # URI 7: =% 1433s # URI 8: = 1433s # URI 9: foo 1433s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1433s ok 22 /uri/iter-params/length 1433s # End of iter-params tests 1433s # Start of parse-params tests 1433s # URI 0: p1=foo&p2=bar;p3=baz 1433s # URI 1: p1=foo&p2=bar 1433s # URI 2: p1=foo&&P1=bar 1433s # URI 3: %00=foo 1433s # URI 4: p1=%00 1433s # URI 5: p1=foo&p1=bar 1433s # URI 6: p1=foo&P1=bar 1433s # URI 7: =% 1433s # URI 8: = 1433s # URI 9: foo 1433s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1433s ok 23 /uri/parse-params/nul-terminated 1433s # URI 0: p1=foo&p2=bar;p3=baz 1433s # URI 1: p1=foo&p2=bar 1433s # URI 2: p1=foo&&P1=bar 1433s # URI 3: %00=foo 1433s # URI 4: p1=%00 1433s # URI 5: p1=foo&p1=bar 1433s # URI 6: p1=foo&P1=bar 1433s # URI 7: =% 1433s # URI 8: = 1433s # URI 9: foo 1433s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1433s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1433s ok 24 /uri/parse-params/length 1433s # End of parse-params tests 1433s # End of uri tests 1433s ok - glib/uri.test 1433s # Running test: glib/timer.test 1433s TAP version 14 1433s # random seed: R02S61558e4183a0bedbceabf233178575b0 1433s 1..10 1433s # Start of timer tests 1433s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1433s ok 2 /timer/stop 1433s ok 3 /timer/continue 1433s ok 4 /timer/reset 1433s ok 5 /timer/is_active 1433s # End of timer tests 1433s # Start of timeval tests 1433s ok 6 /timeval/add 1433s ok 7 /timeval/from-iso8601 1433s ok 8 /timeval/to-iso8601 1433s # Start of to-iso8601 tests 1433s ok 9 /timeval/to-iso8601/overflow 1433s # End of to-iso8601 tests 1433s # End of timeval tests 1433s # Start of usleep tests 1433s ok 10 /usleep/with-zero-wait 1433s # End of usleep tests 1433s ok - glib/timer.test 1433s # Running test: glib/signals-refcount2.test 1433s TAP version 14 1433s # random seed: R02Sd7709d680b9e76f42dcbee032d8c4df0 1433s 1..1 1433s # Start of gobject tests 1433s # Start of refcount tests 1433s # init 0xb9ba459d2430 1433s # 1433s # init 0xb9ba459d25d0 1433s # 1438s # Executing: glib/signals-refcount2.test 1438s # dispose 0xb9ba459d2430! 1438s # 1438s # dispose 0xb9ba459d25d0! 1438s # 1438s ok 1 /gobject/refcount/signals 1438s # slow test /gobject/refcount/signals executed in 5.00 secs 1438s # End of refcount tests 1438s # End of gobject tests 1438s ok - glib/signals-refcount2.test 1438s # Running test: glib/markup-escape.test 1438s TAP version 14 1438s # random seed: R02Sde5a2f6370b797e74a37b1468a36d121 1438s 1..41 1438s # Start of markup tests 1438s ok 1 /markup/format 1438s # Start of escape-text tests 1438s ok 2 /markup/escape-text/0 1438s ok 3 /markup/escape-text/1 1438s ok 4 /markup/escape-text/2 1438s ok 5 /markup/escape-text/3 1438s ok 6 /markup/escape-text/4 1438s ok 7 /markup/escape-text/5 1438s ok 8 /markup/escape-text/6 1438s ok 9 /markup/escape-text/7 1438s ok 10 /markup/escape-text/8 1438s ok 11 /markup/escape-text/9 1438s ok 12 /markup/escape-text/10 1438s ok 13 /markup/escape-text/11 1438s ok 14 /markup/escape-text/12 1438s ok 15 /markup/escape-text/13 1438s ok 16 /markup/escape-text/14 1438s ok 17 /markup/escape-text/15 1438s ok 18 /markup/escape-text/16 1438s ok 19 /markup/escape-text/17 1438s ok 20 /markup/escape-text/18 1438s ok 21 /markup/escape-text/19 1438s ok 22 /markup/escape-text/20 1438s ok 23 /markup/escape-text/21 1438s ok 24 /markup/escape-text/22 1438s # End of escape-text tests 1438s # Start of escape-unichar tests 1438s ok 25 /markup/escape-unichar/0 1438s ok 26 /markup/escape-unichar/1 1438s ok 27 /markup/escape-unichar/2 1438s ok 28 /markup/escape-unichar/3 1438s ok 29 /markup/escape-unichar/4 1438s ok 30 /markup/escape-unichar/5 1438s ok 31 /markup/escape-unichar/6 1438s ok 32 /markup/escape-unichar/7 1438s ok 33 /markup/escape-unichar/8 1438s ok 34 /markup/escape-unichar/9 1438s ok 35 /markup/escape-unichar/10 1438s ok 36 /markup/escape-unichar/11 1438s ok 37 /markup/escape-unichar/12 1438s ok 38 /markup/escape-unichar/13 1438s ok 39 /markup/escape-unichar/14 1438s ok 40 /markup/escape-unichar/15 1438s ok 41 /markup/escape-unichar/16 1438s # End of escape-unichar tests 1438s # End of markup tests 1438s ok - glib/markup-escape.test 1438s # Running test: glib/socket-listener.test 1438s TAP version 14 1438s # random seed: R02S8f210fcba07360aece2430d8c6bc5c42 1438s 1..1 1438s # Start of socket-listener tests 1438s ok 1 /socket-listener/event-signal 1438s # End of socket-listener tests 1438s ok - glib/socket-listener.test 1438s # Running test: glib/debugcontroller.test 1438s TAP version 14 1438s # random seed: R02S1ab1d70387598bcaa96180f9c7efca80 1438s 1..3 1438s # Start of debug-controller tests 1438s # Start of dbus tests 1438s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Debug output enabled 1438s # GLib-GIO-DEBUG: Debug output disabled 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 1 /debug-controller/dbus/basic 1438s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 2 /debug-controller/dbus/duplicate 1438s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1438s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1438s # End of dbus tests 1438s # End of debug-controller tests 1438s ok - glib/debugcontroller.test 1438s # Running test: glib/atomic-c-89.test 1438s TAP version 14 1438s # random seed: R02S797fafc3b0d649bd77626a6b25966768 1438s 1..2 1438s # Start of atomic tests 1438s ok 1 /atomic/types 1438s ok 2 /atomic/threaded 1438s # End of atomic tests 1438s ok - glib/atomic-c-89.test 1438s # Running test: glib/cxx-17.test 1438s TAP version 14 1438s # random seed: R02S02ec0c3bd695fdc4ffa3e72fdc2f51fa 1438s 1..2 1438s # Start of gtask tests 1438s # 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. 1438s ok 1 /gtask/name 1438s # Start of name tests 1438s # 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. 1438s ok 2 /gtask/name/macro-wrapper 1438s # End of name tests 1438s # End of gtask tests 1438s ok - glib/cxx-17.test 1438s # Running test: glib/gdbus-export.test 1438s TAP version 14 1438s # random seed: R02S1958fe635ac006dc9179e24717d37420 1438s 1..6 1438s # Start of gdbus tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration/.dirs/runtime 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s ok 1 /gdbus/object-registration 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FUH8Z2/gdbus/object-registration-with-closures/.dirs/runtime 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s ok 2 /gdbus/object-registration-with-closures 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FUH8Z2/gdbus/registered-interfaces/.dirs/runtime 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s ok 3 /gdbus/registered-interfaces 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FUH8Z2/gdbus/async-properties/.dirs/runtime 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s ok 4 /gdbus/async-properties 1438s # Start of threaded-unregistration tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/object/.dirs/runtime 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1438s # /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 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (6 iterations with unregistration first, 994 with call first); skipping test 1439s # slow test /gdbus/threaded-unregistration/object executed in 1.25 secs 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_FUH8Z2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1439s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1439s # /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 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1439s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1440s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1441s # slow test /gdbus/threaded-unregistration/subtree executed in 1.20 secs 1441s # End of threaded-unregistration tests 1441s # End of gdbus tests 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s ok - glib/gdbus-export.test 1441s # Running test: glib/mappedfile.test 1441s TAP version 14 1441s # random seed: R02S54f21955f1334611b49ff694f09dbc0c 1441s 1..7 1441s # Start of mappedfile tests 1441s ok 1 /mappedfile/basic 1441s ok 2 /mappedfile/empty 1441s ok 3 /mappedfile/device 1441s ok 4 /mappedfile/nonexisting 1441s ok 5 /mappedfile/writable 1441s ok 6 /mappedfile/writable_fd 1441s ok 7 /mappedfile/gbytes 1441s # End of mappedfile tests 1441s ok - glib/mappedfile.test 1441s # Running test: glib/gdbus-connection-slow.test 1441s TAP version 14 1441s # random seed: R02S098ded529218a186539c6a15fd66d9b5 1441s 1..2 1441s # Start of gdbus tests 1441s # Start of connection tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/flush/.dirs/runtime 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s ok 1 /gdbus/connection/flush 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_JWKK02/gdbus/connection/large_message/.dirs/runtime 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1441s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s ok 2 /gdbus/connection/large_message 1441s # End of connection tests 1441s # End of gdbus tests 1441s ok - glib/gdbus-connection-slow.test 1441s # Running test: glib/bitlock.test 1441s TAP version 14 1441s # random seed: R02S837d107053dd1d808170a2ba1e7b7fad 1441s 1..1 1441s # Start of bitlock tests 1441s # Start of performance tests 1441s # max perf: iterations per second 1441s ok 1 /bitlock/performance/uncontended 1441s # End of performance tests 1441s # End of bitlock tests 1441s ok - glib/bitlock.test 1441s # Running test: glib/relation.test 1441s TAP version 14 1441s # random seed: R02Sa52a3929d484e385f82286db7e814c1c 1441s 1..1 1441s # Start of glib tests 1441s ok 1 /glib/relation 1441s # End of glib tests 1441s ok - glib/relation.test 1441s # Running test: glib/properties-refcount3.test 1441s TAP version 14 1441s # random seed: R02S11fdce7f490caf0265200883fb3cd7fd 1441s 1..1 1441s # Start of gobject tests 1441s # Start of refcount tests 1443s # Executing: glib/properties-refcount3.test 1448s # Executing: glib/properties-refcount3.test 1453s # Executing: glib/properties-refcount3.test 1458s # Executing: glib/properties-refcount3.test 1463s # Executing: glib/properties-refcount3.test 1468s # Executing: glib/properties-refcount3.test 1471s # 1471s # stopping 1471s # 1471s # stopped 1471s # 1471s # 27647760 537589 1471s # 1471s ok 1 /gobject/refcount/properties-3 1471s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1471s # End of refcount tests 1471s # End of gobject tests 1471s ok - glib/properties-refcount3.test 1471s # Running test: glib/application-command-line.test 1471s TAP version 14 1471s # random seed: R02S29ca6fe970500807bf97e76709474a39 1471s 1..1 1471s # Start of application-command-line tests 1471s ok 1 /application-command-line/basic-properties 1471s # End of application-command-line tests 1471s ok - glib/application-command-line.test 1471s # Running test: glib/glistmodel.test 1471s TAP version 14 1471s # random seed: R02Sfccc7b0928e29300cc4c0040a6bb1401 1471s 1..18 1471s # Start of glistmodel tests 1471s # Start of store tests 1471s ok 1 /glistmodel/store/properties 1471s ok 2 /glistmodel/store/non-gobjects 1471s ok 3 /glistmodel/store/boundaries 1471s ok 4 /glistmodel/store/refcounts 1471s ok 5 /glistmodel/store/sorted 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1471s ok 6 /glistmodel/store/splice-replace-middle 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1471s ok 7 /glistmodel/store/splice-replace-all 1471s ok 8 /glistmodel/store/splice-noop 1471s ok 9 /glistmodel/store/splice-remove-multiple 1471s ok 10 /glistmodel/store/splice-add-multiple 1471s ok 11 /glistmodel/store/splice-wrong-type 1471s ok 12 /glistmodel/store/item-type 1471s ok 13 /glistmodel/store/remove-all 1471s ok 14 /glistmodel/store/sort 1471s ok 15 /glistmodel/store/get-item-cache 1471s ok 16 /glistmodel/store/items-changed 1471s ok 17 /glistmodel/store/past-end 1471s ok 18 /glistmodel/store/find 1471s # End of store tests 1471s # End of glistmodel tests 1471s ok - glib/glistmodel.test 1471s # Running test: glib/collate.test 1471s TAP version 14 1471s # random seed: R02S7438b0c8af9e97c334889467368509bc 1471s 1..9 1471s # Start of unicode tests 1471s # Start of collate tests 1471s ok 1 /unicode/collate/0 1471s ok 2 /unicode/collate/1 1471s ok 3 /unicode/collate/2 1471s # End of collate tests 1471s # Start of collate-key tests 1471s ok 4 /unicode/collate-key/0 1471s ok 5 /unicode/collate-key/1 1471s ok 6 /unicode/collate-key/2 1471s # End of collate-key tests 1471s # Start of collate-filename tests 1471s ok 7 /unicode/collate-filename/0 1471s ok 8 /unicode/collate-filename/1 1471s ok 9 /unicode/collate-filename/2 1471s # End of collate-filename tests 1471s # End of unicode tests 1471s ok - glib/collate.test 1471s # Running test: glib/init.test 1471s TAP version 14 1471s # random seed: R02S2028352156e180dceef6fa36d39646e2 1471s 1..2 1471s # Start of thread tests 1471s # Start of deprecated tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_LOM5Z2/thread/deprecated/init/.dirs/runtime 1471s ok 1 /thread/deprecated/init 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_LOM5Z2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1471s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1471s # End of deprecated tests 1471s # End of thread tests 1471s ok - glib/init.test 1471s # Running test: glib/socket-address.test 1471s TAP version 14 1471s # random seed: R02S51f0b06b5ed080aab89dc531a4afe31a 1471s 1..2 1471s # Start of socket tests 1471s # Start of address tests 1471s # Start of unix tests 1471s ok 1 /socket/address/unix/construct 1471s ok 2 /socket/address/unix/to-string 1471s # End of unix tests 1471s # End of address tests 1471s # End of socket tests 1471s ok - glib/socket-address.test 1471s # Running test: glib/mem-overflow.test 1471s TAP version 14 1471s # random seed: R02S0d0e69b99134820c12e0743ac67efa42 1471s 1..2 1471s # Start of mem tests 1471s ok 1 /mem/overflow 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1471s ok 2 /mem/empty-alloc 1471s # Start of overflow tests 1471s # Start of subprocess tests 1471s # End of subprocess tests 1471s # End of overflow tests 1471s # Start of empty-alloc tests 1471s # End of empty-alloc tests 1471s # End of mem tests 1471s ok - glib/mem-overflow.test 1471s # Running test: glib/sort.test 1471s TAP version 14 1471s # random seed: R02Saf562805a1dca13aa0c766d454771df0 1471s 1..5 1471s # Start of sort tests 1471s ok 1 /sort/basic 1471s ok 2 /sort/zero-elements 1471s ok 3 /sort/stable 1471s ok 4 /sort/big 1471s ok 5 /sort/deprecated 1471s # End of sort tests 1471s ok - glib/sort.test 1471s # Running test: glib/giomodule.test 1471s TAP version 14 1471s # random seed: R02S34aff7c58c04dfcb19994f4e0ebb1d5b 1471s 1..3 1471s # Start of giomodule tests 1471s ok 1 /giomodule/extension-point 1471s ok 2 /giomodule/module-scan-all 1471s ok 3 /giomodule/module-scan-all-with-scope 1471s # End of giomodule tests 1471s ok - glib/giomodule.test 1471s # Running test: glib/dump.test 1471s TAP version 14 1471s # random seed: R02S50d9febc6af2ef7220f269b61385a4b8 1471s 1..4 1471s # Start of dump tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/system-config1:/tmp/test_dump_6EBF02/dump/empty-file/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/system-data1:/tmp/test_dump_6EBF02/dump/empty-file/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6EBF02/dump/empty-file/.dirs/runtime 1471s ok 1 /dump/empty-file 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6EBF02/dump/missing-get-type/.dirs/runtime 1471s Invalid GType function: 'does_not_exist_get_type' 1471s ok 2 /dump/missing-get-type 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_6EBF02/dump/missing-quark/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_6EBF02/dump/missing-quark/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6EBF02/dump/missing-quark/.dirs/runtime 1471s Invalid error quark function: 'does_not_exist_error' 1471s ok 3 /dump/missing-quark 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6EBF02/dump/basic/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6EBF02/dump/basic/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6EBF02/dump/basic/.dirs/system-config1:/tmp/test_dump_6EBF02/dump/basic/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6EBF02/dump/basic/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6EBF02/dump/basic/.dirs/system-data1:/tmp/test_dump_6EBF02/dump/basic/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6EBF02/dump/basic/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6EBF02/dump/basic/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6EBF02/dump/basic/.dirs/runtime 1471s ok 4 /dump/basic 1471s # End of dump tests 1471s ok - glib/dump.test 1471s # Running test: glib/function-info.test 1471s TAP version 14 1471s # random seed: R02S113f9f200aaa2f57da45a9aa4de1372e 1471s 1..1 1471s # Start of function-info tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_DLZE02/function-info/invoker/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_DLZE02/function-info/invoker/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_DLZE02/function-info/invoker/.dirs/runtime 1471s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1471s # /function-info/invoker summary: Test preparing a function invoker 1471s ok 1 /function-info/invoker 1471s # End of function-info tests 1471s ok - glib/function-info.test 1471s # Running test: glib/gdbus-peer.test 1471s TAP version 14 1471s # random seed: R02S21eb7ad871af201d46e3a95fd887417d 1471s 1..12 1471s # Start of gdbus tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/.dirs/runtime 1471s # Testing with unix:dir address 1471s # Testing with unix:tmpdir address 1471s # Testing with unix:path address 1471s ok 1 /gdbus/peer-to-peer 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/delayed-message-processing/.dirs/runtime 1471s # Testing with unix:dir address 1472s ok 2 /gdbus/delayed-message-processing 1472s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1472s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/home 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/cache 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/system-config2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/config 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/system-data2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/data 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/state 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/nonce-tcp/.dirs/runtime 1472s ok 3 /gdbus/nonce-tcp 1472s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/home 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/cache 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/system-config2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/config 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/system-data2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/data 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/state 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/tcp-anonymous/.dirs/runtime 1472s ok 4 /gdbus/tcp-anonymous 1472s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/home 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/cache 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/system-config2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/config 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/system-data2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/data 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/state 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/credentials/.dirs/runtime 1472s ok 5 /gdbus/credentials 1472s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/home 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/cache 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/system-config2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/config 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/system-data2 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/data 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/state 1472s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/codegen-peer-to-peer/.dirs/runtime 1472s # Testing with unix:dir address 1472s # Machine ID: 6e1c5313d97c4bba813d43b69daa0ce0 1473s # Executing: glib/gdbus-peer.test 1473s ok 6 /gdbus/codegen-peer-to-peer 1473s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1473s # Start of peer-to-peer tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/signals/.dirs/runtime 1473s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1473s # Testing with unix:dir address 1473s ok 7 /gdbus/peer-to-peer/signals 1473s # Start of invalid tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1473s ok 8 /gdbus/peer-to-peer/invalid/server 1473s # Start of conn tests 1473s # Start of stream tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1473s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1473s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1473s # End of stream tests 1473s # Start of addr tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1473s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIUE02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1473s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1473s # End of addr tests 1473s # End of conn tests 1473s # End of invalid tests 1473s # End of peer-to-peer tests 1473s # End of gdbus tests 1473s ok - glib/gdbus-peer.test 1473s # Running test: glib/pathbuf.test 1473s TAP version 14 1473s # random seed: R02Sfc7ce191eea202e5242195517273cb17 1473s 1..3 1473s # Start of pathbuf tests 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_6A38Z2/pathbuf/init/.dirs/runtime 1473s # Initializing empty path buf 1473s # Initializing with empty path 1473s # Initializing with full path 1473s # Initializing with no path 1473s # Allocating GPathBuf on the heap 1473s ok 1 /pathbuf/init 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_6A38Z2/pathbuf/push-pop/.dirs/runtime 1473s # Pushing relative path component 1473s # Pushing absolute path component 1473s # Popping a path component 1473s # Can't pop the last element of a path buffer 1473s ok 2 /pathbuf/push-pop 1473s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/home 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/cache 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/system-config2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/config 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/system-data2 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/data 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/state 1473s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_6A38Z2/pathbuf/filename-extension/.dirs/runtime 1473s ok 3 /pathbuf/filename-extension 1473s # End of pathbuf tests 1473s ok - glib/pathbuf.test 1473s # Running test: glib/fileattributematcher.test 1473s TAP version 14 1473s # random seed: R02S4f16e13171a5d61e7d5044a12b11350b 1473s 1..3 1473s # Start of fileattributematcher tests 1473s ok 1 /fileattributematcher/exact 1473s ok 2 /fileattributematcher/equality 1473s ok 3 /fileattributematcher/subtract 1473s # End of fileattributematcher tests 1473s ok - glib/fileattributematcher.test 1473s # Running test: glib/option-argv0.test 1473s TAP version 14 1473s # random seed: R02S5ba235336906d8dd8c93be27040d5884 1473s 1..1 1473s # Start of option tests 1473s ok 1 /option/argv0 1473s # End of option tests 1473s ok - glib/option-argv0.test 1473s # Running test: glib/g-file-info-filesystem-readonly.test 1473s TAP version 14 1473s # random seed: R02S5f80dfd0b7aa0375f649229de248ad4f 1473s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1473s 1..2 1473s # Start of g-file-info-filesystem-readonly tests 1473s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1473s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1473s # End of g-file-info-filesystem-readonly tests 1473s ok - glib/g-file-info-filesystem-readonly.test 1473s # Running test: glib/signals-refcount4.test 1473s TAP version 14 1473s # random seed: R02S93ebf412c38113fd019b49f0800e0a37 1473s 1..1 1473s # Start of gobject tests 1473s # Start of refcount tests 1473s # init 0xb63d7bc3a430 1473s # 1473s # init 0xb63d7bc3a5d0 1473s # 1478s # Executing: glib/signals-refcount4.test 1478s # dispose 0xb63d7bc3a430! 1478s # 1478s # dispose 0xb63d7bc3a5d0! 1478s # 1478s ok 1 /gobject/refcount/signals 1478s # slow test /gobject/refcount/signals executed in 5.00 secs 1478s # End of refcount tests 1478s # End of gobject tests 1478s ok - glib/signals-refcount4.test 1478s # Running test: glib/network-monitor-race.test 1478s TAP version 14 1478s # random seed: R02Sf189a6ccdf80aa40f25cf973cdff8cb6 1478s 1..1 1478s # Start of network-monitor tests 1478s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1480s ok 1 /network-monitor/create-in-thread 1480s # slow test /network-monitor/create-in-thread executed in 2.15 secs 1480s # End of network-monitor tests 1480s ok - glib/network-monitor-race.test 1480s # Running test: glib/param.test 1480s TAP version 14 1480s # random seed: R02Scd668fd54e330e3ae35a9311be979c57 1480s 1..32 1480s # Start of param tests 1480s ok 1 /param/value 1480s ok 2 /param/strings 1480s ok 3 /param/qdata 1480s ok 4 /param/validate 1480s ok 5 /param/convert 1480s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1480s ok 7 /param/default 1480s ok 8 /param/is-valid-name 1480s # Start of invalid-name tests 1480s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1480s ok 9 /param/invalid-name/colon 1480s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1480s ok 10 /param/invalid-name/first-char 1480s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1480s ok 11 /param/invalid-name/empty 1480s # End of invalid-name tests 1480s # Start of implement tests 1480s # Start of subprocess tests 1480s # End of subprocess tests 1480s # End of implement tests 1480s # End of param tests 1480s # Start of value tests 1480s ok 12 /value/transform 1480s # End of value tests 1480s # Start of paramspec tests 1480s ok 13 /paramspec/char 1480s ok 14 /paramspec/uchar 1480s ok 15 /paramspec/int 1480s ok 16 /paramspec/uint 1480s ok 17 /paramspec/long 1480s ok 18 /paramspec/ulong 1480s ok 19 /paramspec/int64 1480s ok 20 /paramspec/uint64 1480s ok 21 /paramspec/float 1480s ok 22 /paramspec/double 1480s ok 23 /paramspec/unichar 1480s ok 24 /paramspec/param 1480s ok 25 /paramspec/null-param 1480s ok 26 /paramspec/string 1480s ok 27 /paramspec/override 1480s ok 28 /paramspec/gtype 1480s ok 29 /paramspec/variant 1480s ok 30 /paramspec/custom 1480s ok 31 /paramspec/pool 1480s # Start of variant tests 1480s ok 32 /paramspec/variant/cmp 1480s # End of variant tests 1480s # End of paramspec tests 1480s ok - glib/param.test 1480s # Running test: glib/gdbus-addresses.test 1480s TAP version 14 1480s # random seed: R02S749fdd2bfe07cb9368002f6cfe2923dd 1480s 1..9 1480s # Start of gdbus tests 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/empty-address/.dirs/runtime 1480s ok 1 /gdbus/empty-address 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/unsupported-address/.dirs/runtime 1480s ok 2 /gdbus/unsupported-address 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/address-parsing/.dirs/runtime 1480s ok 3 /gdbus/address-parsing 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/unix-address/.dirs/runtime 1481s ok 4 /gdbus/unix-address 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/nonce-tcp-address/.dirs/runtime 1481s ok 5 /gdbus/nonce-tcp-address 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/tcp-address/.dirs/runtime 1481s ok 6 /gdbus/tcp-address 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/autolaunch-address/.dirs/runtime 1481s ok 7 /gdbus/autolaunch-address 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/mixed-address/.dirs/runtime 1481s ok 8 /gdbus/mixed-address 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_8GMB02/gdbus/escape-address/.dirs/runtime 1481s ok 9 /gdbus/escape-address 1481s # End of gdbus tests 1481s ok - glib/gdbus-addresses.test 1481s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=178.4s; system=66.9s; maxrss=146992 1481s autopkgtest [09:09:49]: test installed-tests: -----------------------] 1482s installed-tests PASS 1482s autopkgtest [09:09:50]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1482s autopkgtest [09:09:50]: test closure-refcount: preparing testbed 1482s Reading package lists... 1483s Building dependency tree... 1483s Reading state information... 1483s Starting pkgProblemResolver with broken count: 0 1483s Starting 2 pkgProblemResolver with broken count: 0 1483s Done 1484s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1485s autopkgtest [09:09:53]: test closure-refcount: [----------------------- 1485s Running test: glib/closure-refcount.test 1485s TAP version 14 1485s # random seed: R02Sa06c47be375433a860473c219713bea4 1485s 1..1 1485s # Start of closure tests 1485s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1485s # End of closure tests 1485s PASS: glib/closure-refcount.test 1485s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3280 1485s autopkgtest [09:09:53]: test closure-refcount: -----------------------] 1486s autopkgtest [09:09:54]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1486s closure-refcount PASS 1486s autopkgtest [09:09:54]: test debugcontroller: preparing testbed 1487s Reading package lists... 1487s Building dependency tree... 1487s Reading state information... 1487s Starting pkgProblemResolver with broken count: 0 1487s Starting 2 pkgProblemResolver with broken count: 0 1487s Done 1488s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1489s autopkgtest [09:09:57]: test debugcontroller: [----------------------- 1489s Running test: glib/debugcontroller.test 1489s TAP version 14 1489s # random seed: R02Sa162e499d532c4b3a3ceedf26a118975 1489s 1..3 1489s # Start of debug-controller tests 1489s # Start of dbus tests 1489s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1489s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1489s # GLib-GIO-DEBUG: Debug output enabled 1489s # GLib-GIO-DEBUG: Debug output disabled 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s ok 1 /debug-controller/dbus/basic 1489s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1489s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s ok 2 /debug-controller/dbus/duplicate 1489s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1489s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1489s # GLib-GIO-DEBUG: Debug output enabled 1489s # GLib-GIO-DEBUG: Debug output disabled 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1489s ok 3 /debug-controller/dbus/properties 1489s # End of dbus tests 1489s # End of debug-controller tests 1489s PASS: glib/debugcontroller.test 1489s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5988 1490s autopkgtest [09:09:58]: test debugcontroller: -----------------------] 1490s autopkgtest [09:09:58]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1490s debugcontroller PASS 1491s autopkgtest [09:09:59]: test gdbus-server-auth: preparing testbed 1491s Reading package lists... 1491s Building dependency tree... 1491s Reading state information... 1491s Starting pkgProblemResolver with broken count: 0 1492s Starting 2 pkgProblemResolver with broken count: 0 1492s Done 1492s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1494s autopkgtest [09:10:02]: test gdbus-server-auth: [----------------------- 1494s Running test: glib/gdbus-server-auth.test 1494s TAP version 14 1494s # random seed: R02S0970e17068c2b0f5af4cd6bd6e0a487c 1494s 1..9 1494s # Start of gdbus tests 1494s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/home 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/cache 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/system-config2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/config 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/system-data2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/data 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/state 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/.dirs/runtime 1494s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-SLZO02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1494s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-SLZO02/dbus-sDrTCN2A 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15761 1494s ok 1 /gdbus/server-auth 1494s # Start of server-auth tests 1494s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/home 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/cache 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/system-config2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/config 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/system-data2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/data 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/state 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/abstract/.dirs/runtime 1494s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-WDPO02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1494s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-WDPO02/dbus-vKjsP5qY 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15761 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1494s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15761 1494s ok 2 /gdbus/server-auth/abstract 1494s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/home 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/cache 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/system-config2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/config 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/system-data2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/data 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/state 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/tcp/.dirs/runtime 1494s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1494s # Connectable address: tcp:host=127.0.0.1,port=46097 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1494s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1494s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1494s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1494s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1494s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1494s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1495s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1495s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1495s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1495s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1495s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1495s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1495s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1495s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1495s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1495s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1495s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1495s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1495s ok 3 /gdbus/server-auth/tcp 1495s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/.dirs/runtime 1495s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-KECG02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1495s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-KECG02/dbus-l9BI7SxF 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15761 1495s ok 4 /gdbus/server-auth/anonymous 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/.dirs/runtime 1495s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-5ZPP02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1495s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-5ZPP02/dbus-S56baxQi 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1495s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15761 1495s ok 5 /gdbus/server-auth/external 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/.dirs/runtime 1495s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-Z7LP02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1495s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-Z7LP02/dbus-QDLj9Xo7 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15761 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1495s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15761 1495s ok 6 /gdbus/server-auth/sha1 1495s # Start of anonymous tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1495s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1495s # Connectable address: tcp:host=127.0.0.1,port=39401 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1495s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1495s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1495s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1495s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1495s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1496s ok 7 /gdbus/server-auth/anonymous/tcp 1496s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1496s # End of anonymous tests 1496s # Start of external tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1496s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-8Y0G02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1496s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4UZO02/gdbus-server-auth-8Y0G02/dbus-Mtrq6xcC 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15761 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1496s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15761,uid=1000,gid=1000 1496s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15761 1496s ok 8 /gdbus/server-auth/external/require-same-user 1496s # End of external tests 1496s # Start of sha1 tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4UZO02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1496s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1496s # Connectable address: tcp:host=127.0.0.1,port=45525 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1496s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1496s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1496s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1496s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1496s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1497s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1497s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1497s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1497s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1497s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1497s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1497s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1497s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1497s ok 9 /gdbus/server-auth/sha1/tcp 1497s # slow test /gdbus/server-auth/sha1/tcp executed in 0.86 secs 1497s # End of sha1 tests 1497s # End of server-auth tests 1497s # End of gdbus tests 1497s PASS: glib/gdbus-server-auth.test 1497s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8100 1497s autopkgtest [09:10:05]: test gdbus-server-auth: -----------------------] 1497s gdbus-server-auth PASS 1497s autopkgtest [09:10:05]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1498s autopkgtest [09:10:06]: test gdbus-threading: preparing testbed 1498s Reading package lists... 1498s Building dependency tree... 1498s Reading state information... 1499s Starting pkgProblemResolver with broken count: 0 1499s Starting 2 pkgProblemResolver with broken count: 0 1499s Done 1499s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1500s autopkgtest [09:10:08]: test gdbus-threading: [----------------------- 1501s Running test: glib/gdbus-threading.test 1501s TAP version 14 1501s # random seed: R02S425800edbcade2594481cc63220e187f 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s 1..3 1501s # Start of gdbus tests 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_U14B02/gdbus/delivery-in-thread/.dirs/runtime 1501s ok 1 /gdbus/delivery-in-thread 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_U14B02/gdbus/method-calls-in-thread/.dirs/runtime 1501s ok 2 /gdbus/method-calls-in-thread 1501s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/home 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/cache 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/system-config2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/config 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/system-data2 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/data 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/state 1501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_U14B02/gdbus/threaded-singleton/.dirs/runtime 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1501s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34000db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34002580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34007220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34005d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34003b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d340073c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34006460 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34007950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: refcount of 0xe55d34007e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1503s ok 3 /gdbus/threaded-singleton 1503s # slow test /gdbus/threaded-singleton executed in 1.41 secs 1503s # End of gdbus tests 1503s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1503s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1503s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1503s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1503s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1503s PASS: glib/gdbus-threading.test 1503s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=5820 1503s autopkgtest [09:10:11]: test gdbus-threading: -----------------------] 1504s gdbus-threading PASS 1504s autopkgtest [09:10:12]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1504s autopkgtest [09:10:12]: test gmenumodel: preparing testbed 1504s Reading package lists... 1505s Building dependency tree... 1505s Reading state information... 1505s Starting pkgProblemResolver with broken count: 0 1505s Starting 2 pkgProblemResolver with broken count: 0 1505s Done 1506s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1507s autopkgtest [09:10:15]: test gmenumodel: [----------------------- 1507s Running test: glib/gmenumodel.test 1507s TAP version 14 1507s # random seed: R02Sf2920d3a2bac320d6edd7ae9adfebfb9 1507s 1..15 1507s # Start of gmenu tests 1508s ok 1 /gmenu/equality 1508s # slow test /gmenu/equality executed in 0.70 secs 1508s ok 2 /gmenu/random 1508s # slow test /gmenu/random executed in 0.75 secs 1508s ok 3 /gmenu/attributes 1508s ok 4 /gmenu/links 1508s ok 5 /gmenu/mutable 1508s ok 6 /gmenu/convenience 1508s ok 7 /gmenu/menuitem 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1508s ok 8 /gmenu/input-validation 1508s # Start of dbus tests 1508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1509s ok 9 /gmenu/dbus/roundtrip 1509s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 1510s ok 10 /gmenu/dbus/subscriptions 1511s ok 11 /gmenu/dbus/threaded 1511s # slow test /gmenu/dbus/threaded executed in 0.91 secs 1511s # Start of peer tests 1512s ok 12 /gmenu/dbus/peer/roundtrip 1512s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1512s ok 13 /gmenu/dbus/peer/subscriptions 1512s # End of peer tests 1512s # Start of export tests 1512s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1512s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s ok 14 /gmenu/dbus/export/error-handling 1512s # End of export tests 1512s # End of dbus tests 1512s # Start of attributes tests 1512s ok 15 /gmenu/attributes/iterate 1512s # End of attributes tests 1512s # End of gmenu tests 1512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1512s PASS: glib/gmenumodel.test 1512s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.1s; system=0.2s; maxrss=20208 1513s autopkgtest [09:10:21]: test gmenumodel: -----------------------] 1513s gmenumodel PASS 1513s autopkgtest [09:10:21]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1513s autopkgtest [09:10:21]: test mainloop: preparing testbed 1514s Reading package lists... 1514s Building dependency tree... 1514s Reading state information... 1514s Starting pkgProblemResolver with broken count: 0 1514s Starting 2 pkgProblemResolver with broken count: 0 1514s Done 1515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1516s autopkgtest [09:10:24]: test mainloop: [----------------------- 1516s Running test: glib/mainloop.test 1516s TAP version 14 1516s # random seed: R02Sb13b7454ae7049fa332cc967e38c21c9 1516s 1..45 1516s # Start of maincontext tests 1516s ok 1 /maincontext/basic 1516s # Add same-priority sources: 15 1516s # Find each source: 2 1516s # Remove in random order: 39 1516s ok 2 /maincontext/nsources_same_priority 1516s # Add different-priority sources: 17 1516s # Find each source: 2 1516s # Remove in random order: 41 1516s ok 3 /maincontext/nsources_different_priority 1516s # Add sources from threads: 104 1516s # Remove sources from threads: 22 1516s ok 4 /maincontext/nsources_threadpool 1516s ok 5 /maincontext/source_finalization 1516s # /maincontext/idle-once summary: Test g_idle_add_once() works 1516s ok 6 /maincontext/idle-once 1516s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1516s ok 7 /maincontext/timeout-once 1516s # Start of source_finalization_from_source tests 1516s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 8 /maincontext/source_finalization_from_source/0 1516s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 9 /maincontext/source_finalization_from_source/1 1516s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 10 /maincontext/source_finalization_from_source/2 1516s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 11 /maincontext/source_finalization_from_source/3 1516s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 12 /maincontext/source_finalization_from_source/4 1516s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 13 /maincontext/source_finalization_from_source/5 1516s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 14 /maincontext/source_finalization_from_source/6 1516s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 15 /maincontext/source_finalization_from_source/7 1516s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 16 /maincontext/source_finalization_from_source/8 1516s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1516s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1516s ok 17 /maincontext/source_finalization_from_source/9 1516s # End of source_finalization_from_source tests 1516s # Start of source_finalization_from_dispatch tests 1516s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1516s ok 18 /maincontext/source_finalization_from_dispatch/0 1516s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1516s ok 19 /maincontext/source_finalization_from_dispatch/1 1516s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1516s ok 20 /maincontext/source_finalization_from_dispatch/2 1516s # End of source_finalization_from_dispatch tests 1516s # End of maincontext tests 1516s # Start of mainloop tests 1516s ok 21 /mainloop/basic 1516s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1516s ok 23 /mainloop/priorities 1517s ok 24 /mainloop/invoke 1517s # slow test /mainloop/invoke executed in 0.50 secs 1518s ok 25 /mainloop/child_sources 1518s # slow test /mainloop/child_sources executed in 1.20 secs 1520s ok 26 /mainloop/recursive_child_sources 1520s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1520s ok 27 /mainloop/recursive_loop_child_sources 1520s ok 28 /mainloop/swapping_child_sources 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1520s ok 29 /mainloop/blocked_child_sources 1521s ok 30 /mainloop/source_time 1521s # slow test /mainloop/source_time executed in 1.00 secs 1521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1521s ok 31 /mainloop/overflow 1521s Executing: glib/mainloop.test 1522s ok 32 /mainloop/ready-time 1522s # slow test /mainloop/ready-time executed in 0.50 secs 1522s ok 33 /mainloop/wakeup 1522s ok 34 /mainloop/remove-invalid 1522s ok 35 /mainloop/unref-while-pending 1522s ok 36 /mainloop/unix-fd 1522s # slow test /mainloop/unix-fd executed in 0.61 secs 1522s ok 37 /mainloop/unix-fd-source 1522s ok 38 /mainloop/source-unix-fd-api 1523s ok 39 /mainloop/wait 1523s ok 40 /mainloop/unix-file-poll 1523s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1523s ok 41 /mainloop/unix-fd-priority 1523s ok 42 /mainloop/nfds 1523s ok 43 /mainloop/steal-fd 1523s # Start of ownerless-polling tests 1523s ok 44 /mainloop/ownerless-polling/attach-first 1523s ok 45 /mainloop/ownerless-polling/pop-first 1523s # End of ownerless-polling tests 1523s # End of mainloop tests 1523s PASS: glib/mainloop.test 1523s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.6s; maxrss=15364 1523s autopkgtest [09:10:31]: test mainloop: -----------------------] 1523s autopkgtest [09:10:31]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1523s mainloop PASS 1524s autopkgtest [09:10:32]: test memory-monitor-dbus: preparing testbed 1524s Reading package lists... 1524s Building dependency tree... 1524s Reading state information... 1525s Starting pkgProblemResolver with broken count: 0 1525s Starting 2 pkgProblemResolver with broken count: 0 1525s Done 1526s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1526s autopkgtest [09:10:34]: test memory-monitor-dbus: [----------------------- 1527s Running test: glib/memory-monitor-dbus.test 1527s TAP version 13 1527s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1527s # Received memory warning signal, level 1527s # Received memory warning signal, level 1527s # Received memory warning signal, level 1527s 1..1 1527s PASS: glib/memory-monitor-dbus.test 1527s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=29276 1527s autopkgtest [09:10:35]: test memory-monitor-dbus: -----------------------] 1528s autopkgtest [09:10:36]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1528s memory-monitor-dbus PASS 1528s autopkgtest [09:10:36]: test socket: preparing testbed 1529s Reading package lists... 1529s Building dependency tree... 1529s Reading state information... 1529s Starting pkgProblemResolver with broken count: 0 1529s Starting 2 pkgProblemResolver with broken count: 0 1529s Done 1530s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1531s autopkgtest [09:10:39]: test socket: [----------------------- 1531s Running test: glib/socket.test 1531s TAP version 14 1531s # random seed: R02S4fbed19ac070d0794cc7ed93c8764130 1531s 1..28 1531s # Start of socket tests 1532s ok 1 /socket/ipv4_sync 1532s # slow test /socket/ipv4_sync executed in 1.00 secs 1533s ok 2 /socket/ipv4_async 1533s # slow test /socket/ipv4_async executed in 1.00 secs 1533s ok 3 /socket/ipv6_sync 1533s ok 4 /socket/ipv6_async 1533s ok 5 /socket/ipv6_v4mapped 1534s ok 6 /socket/close_graceful 1534s # slow test /socket/close_graceful executed in 1.00 secs 1534s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1534s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1534s ok 8 /socket/fd_reuse 1534s ok 9 /socket/address 1534s ok 10 /socket/unix-from-fd 1534s ok 11 /socket/unix-connection 1534s ok 12 /socket/unix-connection-ancillary-data 1534s ok 13 /socket/source-postmortem 1534s ok 14 /socket/read_write 1534s ok 15 /socket/read_writev 1534s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1534s ok 16 /socket/receive_bytes 1534s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1534s ok 17 /socket/receive_bytes_from 1534s # Start of ipv4_sync tests 1534s ok 18 /socket/ipv4_sync/datagram 1534s # Start of datagram tests 1535s ok 19 /socket/ipv4_sync/datagram/timeouts 1535s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1535s # End of datagram tests 1535s # End of ipv4_sync tests 1535s # Start of ipv6_sync tests 1535s ok 20 /socket/ipv6_sync/datagram 1535s # Start of datagram tests 1536s ok 21 /socket/ipv6_sync/datagram/timeouts 1536s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1536s # End of datagram tests 1536s # End of ipv6_sync tests 1536s # Start of reuse tests 1536s ok 22 /socket/reuse/tcp 1536s ok 23 /socket/reuse/udp 1536s # End of reuse tests 1536s # Start of get_available tests 1536s Executing: glib/socket.test 1536s ok 24 /socket/get_available/datagram 1536s ok 25 /socket/get_available/stream 1536s # End of get_available tests 1536s # Start of credentials tests 1536s # Supported on this OS: GCredentials:linux-ucred:pid=0 1536s ok 26 /socket/credentials/tcp_client 1536s # Supported on this OS: GCredentials:linux-ucred:pid=0 1536s ok 27 /socket/credentials/tcp_server 1536s # Supported on this OS: GCredentials:linux-ucred:pid=17604,uid=1000,gid=1000 1536s ok 28 /socket/credentials/unix_socketpair 1536s # End of credentials tests 1536s # End of socket tests 1536s PASS: glib/socket.test 1536s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5480 1537s autopkgtest [09:10:45]: test socket: -----------------------] 1537s socket PASS 1537s autopkgtest [09:10:45]: test socket: - - - - - - - - - - results - - - - - - - - - - 1538s autopkgtest [09:10:46]: test testfilemonitor: preparing testbed 1538s Reading package lists... 1538s Building dependency tree... 1538s Reading state information... 1538s Starting pkgProblemResolver with broken count: 0 1539s Starting 2 pkgProblemResolver with broken count: 0 1539s Done 1539s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1540s autopkgtest [09:10:48]: test testfilemonitor: [----------------------- 1540s Running test: glib/testfilemonitor.test 1540s TAP version 14 1540s # random seed: R02S2ef13fea411d17bc3e861d77562e5e37 1540s 1..8 1540s # Start of monitor tests 1540s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1540s # Using temporary directory: /tmp/gio-test-testfilemonitor_SQ6C02 1540s # Using GFileMonitor GInotifyFileMonitor 1542s ok 1 /monitor/atomic-replace 1542s # slow test /monitor/atomic-replace executed in 2.00 secs 1542s # Using temporary directory: /tmp/gio-test-testfilemonitor_SZ2C02 1542s # Using GFileMonitor GInotifyFileMonitor 1545s ok 2 /monitor/file-changes 1545s # slow test /monitor/file-changes executed in 2.50 secs 1545s # Using temporary directory: /tmp/gio-test-testfilemonitor_A92O02 1545s # Using GFileMonitor GInotifyFileMonitor 1545s Executing: glib/testfilemonitor.test 1548s ok 3 /monitor/dir-monitor 1548s # slow test /monitor/dir-monitor executed in 3.50 secs 1548s # Using temporary directory: /tmp/gio-test-testfilemonitor_MFWC02 1548s # Using GFileMonitor GInotifyFileMonitor 1550s Executing: glib/testfilemonitor.test 1555s Executing: glib/testfilemonitor.test 1560s Executing: glib/testfilemonitor.test 1565s Executing: glib/testfilemonitor.test 1570s Executing: glib/testfilemonitor.test 1573s ok 4 /monitor/dir-not-existent 1573s # slow test /monitor/dir-not-existent executed in 25.02 secs 1573s # Using temporary directory: /tmp/gio-test-testfilemonitor_1UWD02 1573s # Using GFileMonitor 0 GInotifyFileMonitor 1573s # Using GFileMonitor 1 GInotifyFileMonitor 1575s ok 5 /monitor/cross-dir-moves 1575s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1575s # Using temporary directory: /tmp/gio-test-testfilemonitor_LOSD02 1575s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1575s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1575s ok 6 /monitor/finalize-in-callback 1575s # Using temporary directory: /tmp/gio-test-testfilemonitor_GQQD02 1575s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1575s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1575s ok 7 /monitor/root 1575s # Start of file tests 1575s # Using temporary directory: /tmp/gio-test-testfilemonitor_GIKD02 1575s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1575s # Running with hard link tests 1575s # Using GFileMonitor GInotifyFileMonitor 1575s Executing: glib/testfilemonitor.test 1579s # Event 0 at expected index 7 skipped because it is marked as optional 1579s # Event 2 at expected index 11 skipped because it is marked as optional 1579s ok 8 /monitor/file/hard-links 1579s # slow test /monitor/file/hard-links executed in 3.50 secs 1579s # End of file tests 1579s # End of monitor tests 1579s PASS: glib/testfilemonitor.test 1579s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5508 1579s autopkgtest [09:11:27]: test testfilemonitor: -----------------------] 1580s autopkgtest [09:11:28]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1580s testfilemonitor PASS 1580s autopkgtest [09:11:28]: test thread-pool-slow: preparing testbed 1581s Reading package lists... 1581s Building dependency tree... 1581s Reading state information... 1581s Starting pkgProblemResolver with broken count: 0 1581s Starting 2 pkgProblemResolver with broken count: 0 1581s Done 1582s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1583s autopkgtest [09:11:31]: test thread-pool-slow: [----------------------- 1584s Running test: glib/thread-pool-slow.test 1584s TAP version 14 1584s # random seed: R02S7136b1ffece6e1ae9fcdbc9e3633cb17 1584s 1..7 1584s # Start of threadpool tests 1584s ok 1 /threadpool/functions 1584s ok 2 /threadpool/stop-unused 1584s # slow test /threadpool/stop-unused executed in 0.51 secs 1584s ok 3 /threadpool/pools 1584s # [unsorted] ===> pushed new thread with id:79, number of threads:1, unprocessed:1 1584s # [unsorted] ===> pushed new thread with id:83, number of threads:2, unprocessed:2 1584s # [unsorted] ===> pushed new thread with id:20, number of threads:3, unprocessed:3 1584s # [unsorted] ===> pushed new thread with id:70, number of threads:4, unprocessed:3 1584s # [unsorted] ===> pushed new thread with id:83, number of threads:5, unprocessed:3 1584s # [unsorted] ===> pushed new thread with id:5, number of threads:6, unprocessed:3 1584s # [unsorted] ===> pushed new thread with id:13, number of threads:7, unprocessed:3 1584s # [unsorted] ===> pushed new thread with id:42, number of threads:8, unprocessed:4 1584s # [unsorted] ===> pushed new thread with id:81, number of threads:9, unprocessed:5 1584s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:6 1584s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:7 1584s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:8 1584s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:9 1584s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:10 1584s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:11 1584s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:12 1584s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:13 1584s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:14 1584s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:15 1584s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:16 1584s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:17 1584s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:18 1584s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:19 1584s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:19 1584s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:19 1584s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:18 1584s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:18 1584s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:19 1584s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:20 1584s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:21 1584s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:22 1584s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:23 1584s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:24 1584s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:25 1584s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:26 1584s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:27 1584s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:28 1584s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:29 1584s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:30 1584s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:31 1584s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:32 1584s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:33 1584s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:34 1584s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:35 1584s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:35 1584s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:36 1584s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:37 1584s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:38 1584s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:39 1584s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:40 1584s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:41 1584s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:42 1584s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:43 1584s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:44 1584s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:45 1584s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:46 1584s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:47 1584s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:48 1584s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:49 1584s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:50 1584s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:51 1584s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:52 1584s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:53 1584s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:54 1584s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:55 1584s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:56 1584s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:57 1584s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58 1584s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:59 1584s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:60 1584s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:61 1584s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:62 1584s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:63 1584s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:64 1584s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:65 1584s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:66 1584s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:67 1584s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:68 1584s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:69 1584s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:70 1584s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:71 1584s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:72 1584s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:73 1584s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:74 1584s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:75 1584s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:76 1584s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:77 1584s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:78 1584s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:79 1584s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:80 1584s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:81 1584s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:82 1584s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:83 1584s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:84 1584s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:85 1584s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:86 1584s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:87 1584s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:88 1584s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:89 1584s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:90 1584s ok 4 /threadpool/no-sort 1584s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:1 1584s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:2 1584s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:3 1584s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:4 1584s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:5 1584s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:6 1584s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:7 1584s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:8 1584s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:9 1584s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:10 1584s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:11 1584s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:12 1584s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:13 1584s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:14 1584s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:15 1584s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:16 1584s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:17 1584s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:18 1584s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:19 1584s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:20 1584s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:21 1584s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:22 1584s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:23 1584s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:24 1584s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:25 1584s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:26 1584s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:27 1584s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:28 1584s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:29 1584s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:30 1584s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:31 1584s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:32 1584s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:33 1584s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:34 1584s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:35 1584s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:36 1584s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:37 1584s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:38 1584s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:39 1584s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:40 1584s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:41 1584s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:42 1584s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:43 1584s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:44 1584s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:45 1584s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:46 1584s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:47 1584s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:48 1584s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:49 1584s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:50 1584s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:51 1584s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:52 1584s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:53 1584s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:54 1584s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:55 1584s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:56 1584s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:57 1584s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:58 1584s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:59 1584s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:60 1584s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:61 1584s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:62 1584s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:63 1584s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:64 1584s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:65 1584s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:66 1584s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:67 1584s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:68 1584s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:69 1584s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:70 1584s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:71 1584s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:72 1584s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:73 1584s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:74 1584s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:75 1584s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:76 1584s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:77 1584s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:78 1584s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:79 1584s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:80 1584s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:81 1584s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:82 1584s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:83 1584s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:84 1584s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:85 1584s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:86 1584s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:87 1584s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:88 1584s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:89 1584s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:90 1584s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:91 1584s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:92 1584s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:93 1584s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:94 1584s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:95 1584s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:96 1584s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:97 1584s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:98 1584s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:99 1584s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:100 1584s # Starting thread pool processing 1584s ok 5 /threadpool/sort 1585s ok 6 /threadpool/stop-unused-multiple 1585s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1585s # Pool idle thread count: 0, unprocessed jobs: 43 1585s # Pool idle thread count: 0, unprocessed jobs: 0 1585s # Pool idle thread count: 0, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1586s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1587s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s # Pool idle thread count: 10, unprocessed jobs: 0 1588s Executing: glib/thread-pool-slow.test 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1589s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1590s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1591s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 0 1592s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s # Pool idle thread count: 10, unprocessed jobs: 0 1593s Executing: glib/thread-pool-slow.test 1594s # Pool idle thread count: 10, unprocessed jobs: 2 1594s # Pool idle thread count: 9, unprocessed jobs: 1 1594s # Pool idle thread count: 8, unprocessed jobs: 0 1594s # Pool idle thread count: 8, unprocessed jobs: 0 1594s # Pool idle thread count: 10, unprocessed jobs: 0 1594s # Pool idle thread count: 10, unprocessed jobs: 0 1595s # Pool idle thread count: 10, unprocessed jobs: 0 1595s # Pool idle thread count: 10, unprocessed jobs: 0 1595s # Pool idle thread count: 10, unprocessed jobs: 0 1595s # Pool idle thread count: 10, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1596s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1597s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s # Pool idle thread count: 2, unprocessed jobs: 0 1598s Executing: glib/thread-pool-slow.test 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1599s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1600s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1601s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1602s # Pool idle thread count: 2, unprocessed jobs: 0 1603s # Pool idle thread count: 2, unprocessed jobs: 0 1603s # Pool idle thread count: 2, unprocessed jobs: 0 1603s # Pool idle thread count: 2, unprocessed jobs: 0 1603s # Pool idle thread count: 2, unprocessed jobs: 0 1603s Executing: glib/thread-pool-slow.test 1604s # Pool idle thread count: 2, unprocessed jobs: 0 1604s # Pool idle thread count: 2, unprocessed jobs: 0 1604s ok 7 /threadpool/idle-time 1604s # slow test /threadpool/idle-time executed in 19.53 secs 1604s # End of threadpool tests 1604s PASS: glib/thread-pool-slow.test 1604s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3640 1605s autopkgtest [09:11:53]: test thread-pool-slow: -----------------------] 1605s thread-pool-slow PASS 1605s autopkgtest [09:11:53]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1605s autopkgtest [09:11:53]: test threadtests: preparing testbed 1606s Reading package lists... 1606s Building dependency tree... 1606s Reading state information... 1606s Starting pkgProblemResolver with broken count: 0 1606s Starting 2 pkgProblemResolver with broken count: 0 1606s Done 1607s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1608s autopkgtest [09:11:56]: test threadtests: [----------------------- 1608s Running test: glib/threadtests.test 1608s TAP version 14 1608s # random seed: R02S1bbeb357de925e52c52994862d522a42 1608s 1..5 1608s # Start of GObject tests 1608s ok 1 /GObject/threaded-object-init 1609s ok 2 /GObject/threaded-weak-ref 1609s # slow test /GObject/threaded-weak-ref executed in 0.68 secs 1609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1609s # /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 1609s ok 3 /GObject/threaded-toggle-notify 1609s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1609s # Start of threaded-weak-ref tests 1609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1609s # /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. 1609s ok 5 /GObject/threaded-weak-ref/on-finalization 1609s # End of threaded-weak-ref tests 1609s # End of GObject tests 1609s PASS: glib/threadtests.test 1609s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.4s; maxrss=3472 1609s autopkgtest [09:11:57]: test threadtests: -----------------------] 1610s autopkgtest [09:11:58]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1610s threadtests PASS 1610s autopkgtest [09:11:58]: test timeout: preparing testbed 1610s Reading package lists... 1611s Building dependency tree... 1611s Reading state information... 1611s Starting pkgProblemResolver with broken count: 0 1611s Starting 2 pkgProblemResolver with broken count: 0 1611s Done 1612s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1613s autopkgtest [09:12:01]: test timeout: [----------------------- 1613s Running test: glib/timeout.test 1613s TAP version 14 1613s # random seed: R02Scdeb2ddac4830eef96fe95977ccaaabd 1613s 1..5 1613s # Start of timeout tests 1613s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1615s ok 1 /timeout/seconds 1615s # slow test /timeout/seconds executed in 2.10 secs 1617s ok 2 /timeout/seconds-once 1617s # slow test /timeout/seconds-once executed in 2.10 secs 1617s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1618s Executing: glib/timeout.test 1619s ok 3 /timeout/weeks-overflow 1619s # slow test /timeout/weeks-overflow executed in 2.10 secs 1619s ok 4 /timeout/far-future-ready-time 1623s Executing: glib/timeout.test 1628s Executing: glib/timeout.test 1630s ok 5 /timeout/rounding 1630s # slow test /timeout/rounding executed in 10.28 secs 1630s # End of timeout tests 1630s PASS: glib/timeout.test 1630s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2928 1630s autopkgtest [09:12:18]: test timeout: -----------------------] 1630s timeout PASS 1630s autopkgtest [09:12:18]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1631s autopkgtest [09:12:19]: test timer: preparing testbed 1631s Reading package lists... 1631s Building dependency tree... 1631s Reading state information... 1632s Starting pkgProblemResolver with broken count: 0 1632s Starting 2 pkgProblemResolver with broken count: 0 1632s Done 1632s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1633s autopkgtest [09:12:21]: test timer: [----------------------- 1634s Running test: glib/timer.test 1634s TAP version 14 1634s # random seed: R02S267026a4aefeeb8a5ced31c0a7377aa9 1634s 1..10 1634s # Start of timer tests 1634s ok 1 /timer/basic 1634s ok 2 /timer/stop 1634s ok 3 /timer/continue 1634s ok 4 /timer/reset 1634s ok 5 /timer/is_active 1634s # End of timer tests 1634s # Start of timeval tests 1634s ok 6 /timeval/add 1634s ok 7 /timeval/from-iso8601 1634s ok 8 /timeval/to-iso8601 1634s # Start of to-iso8601 tests 1634s ok 9 /timeval/to-iso8601/overflow 1634s # End of to-iso8601 tests 1634s # End of timeval tests 1634s # Start of usleep tests 1634s ok 10 /usleep/with-zero-wait 1634s # End of usleep tests 1634s PASS: glib/timer.test 1634s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2920 1634s autopkgtest [09:12:22]: test timer: -----------------------] 1635s autopkgtest [09:12:23]: test timer: - - - - - - - - - - results - - - - - - - - - - 1635s timer PASS 1635s autopkgtest [09:12:23]: test 1065022-futureproofing: preparing testbed 1811s autopkgtest [09:15:19]: testbed dpkg architecture: arm64 1811s autopkgtest [09:15:19]: testbed apt version: 2.9.18 1811s autopkgtest [09:15:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1812s autopkgtest [09:15:20]: testbed release detected to be: plucky 1812s autopkgtest [09:15:20]: updating testbed package index (apt update) 1813s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1813s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1813s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1813s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1813s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 1813s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1813s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 1813s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [823 kB] 1813s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 1813s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 1814s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [963 kB] 1814s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 1814s Fetched 2393 kB in 1s (2381 kB/s) 1815s Reading package lists... 1815s + lsb_release --codename --short 1815s + RELEASE=plucky 1815s + cat 1815s + [ plucky != trusty ] 1815s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 1815s Reading package lists... 1816s Building dependency tree... 1816s Reading state information... 1816s Calculating upgrade... 1817s The following packages will be upgraded: 1817s apport apport-core-dump-handler python3-apport python3-problem-report 1817s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1817s Need to get 220 kB of archives. 1817s After this operation, 0 B of additional disk space will be used. 1817s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 1817s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 1817s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 1817s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 1818s Fetched 220 kB in 0s (513 kB/s) 1818s (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 ... 80201 files and directories currently installed.) 1818s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 1818s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1818s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 1818s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1818s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 1818s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1818s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 1818s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 1819s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 1819s Setting up python3-apport (2.31.0-0ubuntu3) ... 1819s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 1820s Setting up apport (2.31.0-0ubuntu3) ... 1821s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1821s Processing triggers for man-db (2.13.0-1) ... 1822s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 1822s + /usr/lib/apt/apt-helper analyze-pattern ?true 1822s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 1822s Reading package lists... 1823s Building dependency tree... 1823s Reading state information... 1824s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1824s + grep -q trusty /etc/lsb-release 1824s + [ ! -d /usr/share/doc/unattended-upgrades ] 1824s + [ ! -d /usr/share/doc/lxd ] 1824s + [ ! -d /usr/share/doc/lxd-client ] 1824s + [ ! -d /usr/share/doc/snapd ] 1824s + type iptables 1824s + cat 1824s + chmod 755 /etc/rc.local 1824s + . /etc/rc.local 1824s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1824s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 1824s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 1824s + uname -m 1824s + [ aarch64 = ppc64le ] 1824s + [ -d /run/systemd/system ] 1824s + systemd-detect-virt --quiet --vm 1824s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 1824s + cat 1824s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 1824s + echo COMPRESS=lz4 1824s + sync 1825s autopkgtest [09:15:33]: upgrading testbed (apt dist-upgrade and autopurge) 1825s Reading package lists... 1825s Building dependency tree... 1825s Reading state information... 1827s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1827s Starting 2 pkgProblemResolver with broken count: 0 1827s Done 1828s Entering ResolveByKeep 1829s 1830s The following packages will be upgraded: 1830s python3-gi 1830s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1830s Need to get 279 kB of archives. 1830s After this operation, 0 B of additional disk space will be used. 1830s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gi arm64 3.50.0-4 [279 kB] 1831s Fetched 279 kB in 0s (665 kB/s) 1831s (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 ... 80201 files and directories currently installed.) 1831s Preparing to unpack .../python3-gi_3.50.0-4_arm64.deb ... 1832s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 1832s Setting up python3-gi (3.50.0-4) ... 1832s Reading package lists... 1833s Building dependency tree... 1833s Reading state information... 1833s Starting pkgProblemResolver with broken count: 0 1833s Starting 2 pkgProblemResolver with broken count: 0 1833s Done 1834s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1834s autopkgtest [09:15:42]: rebooting testbed after setup commands that affected boot 1860s Reading package lists... 1861s Building dependency tree... 1861s Reading state information... 1861s Starting pkgProblemResolver with broken count: 0 1861s Starting 2 pkgProblemResolver with broken count: 0 1861s Done 1862s The following NEW packages will be installed: 1862s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1862s libdconf1 1862s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1862s Need to get 137 kB of archives. 1862s After this operation, 697 kB of additional disk space will be used. 1862s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-5 [40.0 kB] 1862s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-5 [27.1 kB] 1862s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-5 [22.3 kB] 1862s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg-repack all 1.54 [11.2 kB] 1862s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1863s Fetched 137 kB in 0s (346 kB/s) 1863s Selecting previously unselected package libdconf1:arm64. 1863s (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 ... 80201 files and directories currently installed.) 1863s Preparing to unpack .../libdconf1_0.40.0-5_arm64.deb ... 1863s Unpacking libdconf1:arm64 (0.40.0-5) ... 1863s Selecting previously unselected package dconf-service. 1863s Preparing to unpack .../dconf-service_0.40.0-5_arm64.deb ... 1863s Unpacking dconf-service (0.40.0-5) ... 1863s Selecting previously unselected package dconf-gsettings-backend:arm64. 1863s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_arm64.deb ... 1863s Unpacking dconf-gsettings-backend:arm64 (0.40.0-5) ... 1863s Selecting previously unselected package dpkg-repack. 1863s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1863s Unpacking dpkg-repack (1.54) ... 1863s Selecting previously unselected package gsettings-desktop-schemas. 1863s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1863s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1863s Setting up dpkg-repack (1.54) ... 1863s Setting up libdconf1:arm64 (0.40.0-5) ... 1863s Setting up dconf-service (0.40.0-5) ... 1863s Setting up dconf-gsettings-backend:arm64 (0.40.0-5) ... 1863s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1863s Processing triggers for man-db (2.13.0-1) ... 1864s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 1864s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1870s autopkgtest [09:16:18]: test 1065022-futureproofing: [----------------------- 1870s + export DEBIAN_FRONTEND=noninteractive 1870s + n=0 1870s + failed=0 1870s + binary_package=libglib2.0-0t64 1870s + future_binary_package=libglib2.0-0xyz 1870s + pwd 1870s + srcdir=/tmp/autopkgtest.55EnFI/build.6ph/src 1870s + mktemp -d 1870s + tmpdir=/tmp/tmp.6IoKG0DGMO 1870s + cd /tmp/tmp.6IoKG0DGMO 1870s + [ -e /tmp/autopkgtest.55EnFI/build.6ph/src/debian/tests/manual/local-1065022.sources ] 1870s + dpkg-query -W dpkg-repack 1870s dpkg-repack 1.54 1870s + dpkg-repack --generate libglib2.0-0t64 1870s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1870s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.bA8ePl for libglib2.0-0t64 1870s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.bA8ePl ." 1870s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.bA8ePl/DEBIAN/control 1870s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.bA8ePl/DEBIAN/control 1870s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.bA8ePl/DEBIAN/control 1870s + 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.bA8ePl/DEBIAN/control 1870s + dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1870s dpkg-deb --build dpkg-repack.libglib2.0-0t64.bA8ePl libglib2.0-0xyz.deb 1872s + apt-get -y install ./libglib2.0-0xyz.deb 1872s Reading package lists... 1873s Building dependency tree... 1873s Reading state information... 1873s The following packages were automatically installed and are no longer required: 1873s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1873s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1873s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1873s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1873s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1873s python3-openssl python3-problem-report python3-pygments python3-requests 1873s python3-rich python3-systemd python3-urllib3 1873s Use 'sudo apt autoremove' to remove them. 1873s The following additional packages will be installed: 1873s xdg-user-dirs 1873s Suggested packages: 1873s low-memory-monitor 1873s Recommended packages: 1873s shared-mime-info 1873s The following packages will be REMOVED: 1873s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1873s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1873s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1873s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1873s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1873s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1873s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1873s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1873s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1873s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1873s python3-netplan shared-mime-info ubuntu-minimal udisks2 1873s The following NEW packages will be installed: 1873s libglib2.0-0xyz xdg-user-dirs 1873s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1873s Need to get 18.5 kB/1580 kB of archives. 1873s After this operation, 35.0 MB disk space will be freed. 1873s Get:1 /tmp/tmp.6IoKG0DGMO/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.82.4-1 [1561 kB] 1873s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 xdg-user-dirs arm64 0.18-2 [18.5 kB] 1874s Fetched 18.5 kB in 0s (78.3 kB/s) 1874s (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 ... 80269 files and directories currently installed.) 1874s Removing bolt (0.9.8-1) ... 1874s Removing cloud-init (25.1~2g4ee65391-0ubuntu1) ... 1874s Removing cloud-init-base (25.1~2g4ee65391-0ubuntu1) ... 1875s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1875s Removing dconf-gsettings-backend:arm64 (0.40.0-5) ... 1875s Removing dconf-service (0.40.0-5) ... 1875s Removing fwupd (2.0.3-3) ... 1875s Removing networkd-dispatcher (2.2.4-1.1) ... 1876s Removing udisks2 (2.10.1-11ubuntu1) ... 1876s Removing libblockdev-crypto3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-fs3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-loop3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-mdraid3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-nvme3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-part3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-swap3:arm64 (3.2.1-1) ... 1876s Removing libblockdev3:arm64 (3.2.1-1) ... 1876s Removing libblockdev-utils3:arm64 (3.2.1-1) ... 1877s Removing libdconf1:arm64 (0.40.0-5) ... 1877s Removing libfwupd3:arm64 (2.0.3-3) ... 1877s Removing shared-mime-info (2.4-5) ... 1877s Removing python3-dbus (1.3.2-5build4) ... 1877s Removing libgudev-1.0-0:arm64 (1:238-6) ... 1877s Removing libjcat1:arm64 (0.2.0-2build3) ... 1877s Removing libjson-glib-1.0-0:arm64 (1.10.6+ds-1) ... 1877s Removing libqmi-proxy (1.35.6-1) ... 1877s Removing libqmi-glib5:arm64 (1.35.6-1) ... 1877s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1877s Removing libmbim-glib4:arm64 (1.31.2-0ubuntu4) ... 1877s Removing libmm-glib0:arm64 (1.23.4-0ubuntu2) ... 1877s Removing ubuntu-minimal (1.544) ... 1877s Removing netplan.io (1.1.1-1) ... 1877s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1877s Removing python3-netplan (1.1.1-1) ... 1878s Removing netplan-generator (1.1.1-1) ... 1878s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1878s Removing libnetplan1:arm64 (1.1.1-1) ... 1878s Removing libpolkit-agent-1-0:arm64 (125-2ubuntu1) ... 1878s Removing libpolkit-gobject-1-0:arm64 (125-2ubuntu1) ... 1878s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu4) ... 1878s Removing libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 1878s Removing libvolume-key1:arm64 (0.3.12-8) ... 1878s Removing libxmlb2:arm64 (0.3.21-1) ... 1878s Removing apport (2.31.0-0ubuntu3) ... 1879s Removing apport-core-dump-handler (2.31.0-0ubuntu3) ... 1879s Removing python3-gi (3.50.0-4) ... 1879s Removing gir1.2-girepository-2.0:arm64 (1.82.0-3) ... 1879s Removing gir1.2-glib-2.0:arm64 (2.82.4-1) ... 1879s Removing libgirepository-1.0-1:arm64 (1.82.0-3) ... 1879s Removing libglib2.0-0t64:arm64 (2.82.4-1) ... 1879s Selecting previously unselected package libglib2.0-0xyz:arm64. 1879s (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 ... 79209 files and directories currently installed.) 1879s Preparing to unpack .../libglib2.0-0xyz.deb ... 1879s Unpacking libglib2.0-0xyz:arm64 (2.82.4-1) ... 1880s Selecting previously unselected package xdg-user-dirs. 1880s Preparing to unpack .../xdg-user-dirs_0.18-2_arm64.deb ... 1880s Unpacking xdg-user-dirs (0.18-2) ... 1880s Setting up xdg-user-dirs (0.18-2) ... 1880s Setting up libglib2.0-0xyz:arm64 (2.82.4-1) ... 1880s No schema files found: removed existing output file. 1880s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1880s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1880s Processing triggers for man-db (2.13.0-1) ... 1881s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1881s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1881s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1881s + n=1 1881s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1881s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1881s + failed=1 1881s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1881s + n=2 1881s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1881s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1881s + failed=1 1881s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1881s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1881s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1881s + n=3 1881s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1881s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1881s + failed=1 1881s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1881s + n=4 1881s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1881s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1881s + failed=1 1881s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1881s + n=5 1881s + test -e /usr/lib/*/gio/modules/giomodule.cache 1881s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1881s + failed=1 1881s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1881s + n=6 1881s + test -s /usr/lib/*/gio/modules/giomodule.cache 1881s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1881s + failed=1 1881s + apt-get -y purge libglib2.0-0t64 1881s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1881s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1881s Reading package lists... 1881s Building dependency tree... 1881s Reading state information... 1882s The following packages were automatically installed and are no longer required: 1882s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1882s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1882s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1882s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1882s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1882s python3-openssl python3-problem-report python3-pygments python3-requests 1882s python3-rich python3-systemd python3-urllib3 1882s Use 'sudo apt autoremove' to remove them. 1882s The following packages will be REMOVED: 1882s libglib2.0-0t64* 1882s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1882s After this operation, 0 B of additional disk space will be used. 1882s (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 ... 79244 files and directories currently installed.) 1882s Purging configuration files for libglib2.0-0t64:arm64 (2.82.4-1) ... 1882s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1882s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1882s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1882s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1882s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1882s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1882s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1882s + n=7 1882s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1882s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1882s + failed=1 1882s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1882s + n=8 1882s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1882s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1882s + failed=1 1882s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1882s + n=9 1882s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1882s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1882s + failed=1 1882s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1882s + n=10 1882s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1882s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1882s + failed=1 1882s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1882s + n=11 1882s + test -e /usr/lib/*/gio/modules/giomodule.cache 1882s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1882s + failed=1 1882s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1882s + n=12 1882s + test -s /usr/lib/*/gio/modules/giomodule.cache 1882s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1882s + failed=1 1882s + apt-get -y purge libglib2.0-0xyz 1883s Reading package lists... 1883s Building dependency tree... 1883s Reading state information... 1883s The following packages were automatically installed and are no longer required: 1883s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1883s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1883s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1883s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1883s python3-chardet python3-configobj python3-debconf python3-markdown-it 1883s python3-mdurl python3-openssl python3-problem-report python3-pygments 1883s python3-requests python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1883s Use 'sudo apt autoremove' to remove them. 1883s The following packages will be REMOVED: 1883s libglib2.0-0xyz* 1884s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1884s After this operation, 4898 kB disk space will be freed. 1884s (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 ... 79244 files and directories currently installed.) 1884s Removing libglib2.0-0xyz:arm64 (2.82.4-1) ... 1884s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1884s (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 ... 79219 files and directories currently installed.) 1884s Purging configuration files for libglib2.0-0xyz:arm64 (2.82.4-1) ... 1884s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1884s + n=13 1884s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1884s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1884s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1884s + n=14 1884s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1884s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1884s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1884s + n=15 1884s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1884s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1884s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1884s + n=16 1884s + test -e /usr/lib/*/gio/modules/giomodule.cache 1884s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1884s + echo 1..16 1884s + exit 1 1884s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1884s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1884s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1884s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1884s 1..16 1885s autopkgtest [09:16:33]: test 1065022-futureproofing: -----------------------] 1885s autopkgtest [09:16:33]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1885s 1065022-futureproofing FLAKY non-zero exit status 1 1885s autopkgtest [09:16:33]: @@@@@@@@@@@@@@@@@@@@ summary 1885s build PASS (superficial) 1885s build-static PASS (superficial) 1885s girepository-tools PASS (superficial) 1885s libgio-2.0-dev-bin PASS (superficial) 1885s libglib2.0-dev PASS (superficial) 1885s installed-tests PASS 1885s closure-refcount PASS 1885s debugcontroller PASS 1885s gdbus-server-auth PASS 1885s gdbus-threading PASS 1885s gmenumodel PASS 1885s mainloop PASS 1885s memory-monitor-dbus PASS 1885s socket PASS 1885s testfilemonitor PASS 1885s thread-pool-slow PASS 1885s threadtests PASS 1885s timeout PASS 1885s timer PASS 1885s 1065022-futureproofing FLAKY non-zero exit status 1 1902s nova [W] Using flock in prodstack6-arm64 1902s flock: timeout while waiting to get lock 1902s Creating nova instance adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 1902s nova [W] Timed out waiting for 8485c250-77f0-45c2-b9b8-b1edeb6c0322 to get deleted. 1902s nova [W] Using flock in prodstack6-arm64 1902s flock: timeout while waiting to get lock 1902s Creating nova instance adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 1902s nova [W] Timed out waiting for 218e434d-32cd-46c5-9543-8b1298b66eec to get deleted. 1902s nova [W] Using flock in prodstack6-arm64 1902s flock: timeout while waiting to get lock 1902s Creating nova instance adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 1902s nova [W] Timed out waiting for 42490e4a-b5c3-42f9-8b57-295e1bc30aad to get deleted. 1902s nova [W] Using flock in prodstack6-arm64 1902s Creating nova instance adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 1902s nova [W] Timed out waiting for ee7890dd-3fe6-4867-81ee-0871477c3430 to get deleted. 1902s nova [W] Using flock in prodstack6-arm64 1902s Creating nova instance adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 1902s nova [W] Timed out waiting for a7ed3917-6405-43fb-8664-a7967ed14c0f to get deleted. 1902s nova [W] Using flock in prodstack6-arm64 1902s Creating nova instance adt-plucky-arm64-glib2.0-20250118-084507-juju-7f2275-prod-proposed-migration-environment-2-0cc1591b-e335-4801-93c0-9c04b19f8831 from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 1902s nova [W] Timed out waiting for 95bcd231-263a-452c-b1e9-5f3b9ac12b7e to get deleted.